diff --git a/electron/api/github.ts b/electron/api/github.ts index 1209ef3..b5dc9f8 100644 --- a/electron/api/github.ts +++ b/electron/api/github.ts @@ -5,7 +5,6 @@ const fs = require("fs"); const path = require("path"); const zlib = require("zlib"); const {download} = require("electron-dl"); -const unzipper = require('unzipper'); const AdmZip = require('adm-zip'); const log = require('electron-log'); diff --git a/electron/main/index.ts b/electron/main/index.ts index 6aa998f..8a196a0 100644 --- a/electron/main/index.ts +++ b/electron/main/index.ts @@ -213,10 +213,6 @@ ipcMain.handle("open-win", (_, arg) => { } }); -ipcMain.on('open-url', (event, url) => { - shell.openExternal(url).then(r => { - }); -}); initGitHubApi(); initConfigApi();