mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Add comment
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
f03eaa72b5
commit
0888301c0c
@ -49,6 +49,12 @@ function handleAutoUpdateBackChannel(event: Electron.IpcMainEvent, ...[arg]: Upd
|
|||||||
*/
|
*/
|
||||||
electronAutoUpdater.checkForUpdates();
|
electronAutoUpdater.checkForUpdates();
|
||||||
} else if (isLinux) {
|
} else if (isLinux) {
|
||||||
|
/**
|
||||||
|
* This is a necessary workaround until electron-updater is fixed.
|
||||||
|
* The problem is that because linux updating is not implemented at
|
||||||
|
* all via electron. Electron's autoUpdater.quitAndInstall() is never
|
||||||
|
* called.
|
||||||
|
*/
|
||||||
electronAutoUpdater.emit("before-quit-for-update");
|
electronAutoUpdater.emit("before-quit-for-update");
|
||||||
}
|
}
|
||||||
autoUpdater.quitAndInstall(true, true);
|
autoUpdater.quitAndInstall(true, true);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user