Parcourir la source

页面取消退出应用按钮

master
kim131 il y a 4 ans
Parent
révision
68054b74b0
1 fichiers modifiés avec 0 ajouts et 6 suppressions
  1. +0
    -6
      src/main/index.js

+ 0
- 6
src/main/index.js Voir le fichier

@@ -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();
});
/**
* 项目中的文件上传
*/


Chargement…
Annuler
Enregistrer