29 lines
843 B
Diff
29 lines
843 B
Diff
From 864e07d4bac769cbc077a4a3d50a431f2158080c Mon Sep 17 00:00:00 2001
|
|
From: josselinonduty <contact@josselinonduty.fr>
|
|
Date: Mon, 20 Jan 2025 00:46:23 +0100
|
|
Subject: [PATCH] fix: disable autoupdater for linux
|
|
|
|
---
|
|
build/main.js | 5 ++---
|
|
1 file changed, 2 insertions(+), 3 deletions(-)
|
|
|
|
diff --git a/build/main.js b/build/main.js
|
|
index 9ea7c18..10a80fa 100644
|
|
--- a/build/main.js
|
|
+++ b/build/main.js
|
|
@@ -2322,9 +2322,8 @@
|
|
}
|
|
}
|
|
init() {
|
|
- this.arch &&
|
|
- ((isPlatform(PLATFORM.LINUX) && !process.env.APPIMAGE) ||
|
|
- isWindowsStore() ||
|
|
+ this.arch && !isPlatform(PLATFORM.LINUX) && (
|
|
+ isWindowsStore() ||
|
|
"yes" === process.env.DZ_DISABLE_UPDATE ||
|
|
((external_electron_updater_namespaceObject.autoUpdater.autoDownload =
|
|
!0),
|
|
--
|
|
2.43.0
|
|
|