新增下载列表定位文件功能

This commit is contained in:
lyswhut
2019-09-05 22:41:10 +08:00
parent 3dd9ad9ead
commit 5cbf2d8047
5 changed files with 28 additions and 5 deletions
+1
View File
@@ -13,6 +13,7 @@ module.exports = win => {
// })
mainOn('close', event => {
if (win) {
// window.destroy()
win.close()
}
})
+1 -1
View File
@@ -91,7 +91,7 @@ if (isMac) {
Menu.setApplicationMenu(null)
}
app.once('ready', createWindow)
app.on('ready', createWindow)
app.on('window-all-closed', () => {
if (process.platform !== 'darwin') {