This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
yiyun-fe
/
LOCKING-CLIENT
Watch
4
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
页面取消退出应用按钮
master
kim131
4 years ago
parent
c9f16356bc
commit
68054b74b0
1 changed files
with
0 additions
and
6 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-6
src/main/index.js
+ 0
- 6
src/main/index.js
View File
@@ -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();
});
/**
* 项目中的文件上传
*/
Write
Preview
Loading…
Cancel
Save