
electron
xdhc304
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Electron打开开发者工具devtools快捷键
window是 shift + ctrl + imac是shift + cmd + i原创 2021-01-25 14:09:04 · 4419 阅读 · 3 评论 -
electron只运行单个实例
在主进程中添加const gotTheLock = app.requestSingleInstanceLock()if (!gotTheLock) { app.quit()} { app.on('second-instance', (event, argv) => { if (process.platform === 'win32') { if (win) { if (win.isMinimized()) { win.restore原创 2021-01-21 15:39:33 · 1148 阅读 · 0 评论