deezer-linux/patches/03-disable-auto-updater.patch
2025-12-01 17:30:25 +01:00

28 lines
799 B
Diff

From dd5a12c06f5c85892d7560ea169d22c7b9635d29 Mon Sep 17 00:00:00 2001
From: josselinonduty <contact@josselinonduty.fr>
Date: Fri, 28 Nov 2025 17:27:14 +0100
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 411964e..307fc24 100644
--- a/build/main.js
+++ b/build/main.js
@@ -2286,8 +2286,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.48.1