新增下载列表定位文件功能
This commit is contained in:
@@ -13,6 +13,7 @@ module.exports = win => {
|
||||
// })
|
||||
mainOn('close', event => {
|
||||
if (win) {
|
||||
// window.destroy()
|
||||
win.close()
|
||||
}
|
||||
})
|
||||
|
||||
+1
-1
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user