deezer-linux/patches/04-disable-auto-updater.patch
2025-05-14 17:36:44 +09:00

28 lines
819 B
Diff

From 7a0b04d742ca93adcf73c0d520e877f0c4bef6d4 Mon Sep 17 00:00:00 2001
From: josselinonduty <contact@josselinonduty.fr>
Date: Mon, 21 Apr 2025 00:54:17 +0900
Subject: [PATCH] fix: disable autoupdater for linux
---
build/main.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/build/main.js b/build/main.js
index c904158..a667632 100644
--- a/build/main.js
+++ b/build/main.js
@@ -2320,8 +2320,8 @@
}
init() {
this.arch &&
- ((isPlatform(PLATFORM.LINUX) && !process.env.APPIMAGE) ||
- isWindowsStore() ||
+ !isPlatform(PLATFORM.LINUX) &&
+ (isWindowsStore() ||
"yes" === process.env.DZ_DISABLE_UPDATE ||
((external_electron_updater_namespaceObject.autoUpdater.autoDownload =
!0),
--
2.43.0