1
0
mirror of https://github.com/S2-/gitlit synced 2025-08-02 20:30:05 +02:00

fix updater

This commit is contained in:
s2
2020-07-07 11:50:21 +02:00
parent bebaf95f70
commit 133f72df2a

View File

@@ -43,6 +43,7 @@ if (process.platform === 'win32') {
win.webContents.send('update', {
event: 'updateInstalling'
});
app.quit();
});
}, 5000);
}
@@ -267,9 +268,3 @@ ipcMain.on('restart', (event, newRepoDir) => {
app.on('ready', () => {
startup(createWindow);
});
app.on('window-all-closed', function() {
if (process.platform != 'darwin') {
app.quit();
}
});