From d07fe5f5b4e18b47c1e313d648246901af3921bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=98=89=E4=BC=9F?= <8473136@qq.com> Date: Wed, 7 Aug 2024 21:22:02 +0800 Subject: [PATCH] =?UTF-8?q?:fire:=20=E5=88=A0=E9=99=A4=E5=A4=9A=E4=BD=99?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- electron/api/github.ts | 1 - electron/main/index.ts | 4 ---- 2 files changed, 5 deletions(-) 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();