yangjie #22

Merged
yangqiang merged 99 commits from yangjie into master 2024-10-22 16:11:46 +08:00
1 changed files with 0 additions and 5 deletions
Showing only changes of commit d12ef5c633 - Show all commits

View File

@ -113,11 +113,6 @@ function createWindow() {
mainWindow.focus();
}
const additionalData = { myKey: 'myValue' }
// 退出房间
app.on('will-quit', async (event) => {
await mainWindow.webContents.send('quitAndInstall');
});
app.on('ready', () => {
const gotTheLock = app.requestSingleInstanceLock(additionalData)
if (gotTheLock) {