mirror of
https://github.com/S2-/gitlit
synced 2025-08-02 12:20:05 +02:00
fix updater
This commit is contained in:
@@ -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();
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user