diff --git a/src/main/index.js b/src/main/index.js index 8d93c02..d4193ff 100644 --- a/src/main/index.js +++ b/src/main/index.js @@ -102,12 +102,6 @@ app.on('second-instance', (event, commandLine, workingDirectory) => { // code. You can also put them in separate files and require them here. // 监听必要的自定义事件 -/** - * 点击退出应用 - */ -ipcMain.handle('close-app', async (event, args) => { - mainWindow.destroy(); -}); /** * 项目中的文件上传 */