mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix auto update not working for AppImage (#4256)
This commit is contained in:
1 parent
526b7c46be
commit
43845ed145
2 files changed
+13
-2
No files matched your search
+4
-1
@@ -286,7 +286,10 @@ app.on("activate", (event, hasVisibleWindows) => {
|
||||
*/
|
||||
let blockQuit = !isIntegrationTesting;
|
||||
|
||||
autoUpdater.on("before-quit-for-update", () => blockQuit = false);
|
||||
autoUpdater.on("before-quit-for-update", () => {
|
||||
logger.debug("Unblocking quit for update");
|
||||
blockQuit = false;
|
||||
});
|
||||
|
||||
app.on("will-quit", (event) => {
|
||||
// This is called when the close button of the main window is clicked
|
||||
|
||||
Reference in new issue
Block a user