🔥 删除多余代码
This commit is contained in:
parent
ce949aca44
commit
d07fe5f5b4
@ -5,7 +5,6 @@ const fs = require("fs");
|
|||||||
const path = require("path");
|
const path = require("path");
|
||||||
const zlib = require("zlib");
|
const zlib = require("zlib");
|
||||||
const {download} = require("electron-dl");
|
const {download} = require("electron-dl");
|
||||||
const unzipper = require('unzipper');
|
|
||||||
const AdmZip = require('adm-zip');
|
const AdmZip = require('adm-zip');
|
||||||
const log = require('electron-log');
|
const log = require('electron-log');
|
||||||
|
|
||||||
|
@ -213,10 +213,6 @@ ipcMain.handle("open-win", (_, arg) => {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
ipcMain.on('open-url', (event, url) => {
|
|
||||||
shell.openExternal(url).then(r => {
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
initGitHubApi();
|
initGitHubApi();
|
||||||
initConfigApi();
|
initConfigApi();
|
||||||
|
Loading…
Reference in New Issue
Block a user