signal-desktop: disable the auto-updater via config file

Signed-off-by: Marcin Serwin <marcin@serwin.dev>
This commit is contained in:
Marcin Serwin
2026-04-04 17:52:35 +02:00
parent 91fa6175f4
commit 61038496cd
+3 -3
View File
@@ -151,9 +151,9 @@ stdenv.mkDerivation (finalAttrs: {
substituteInPlace app/updateDefaultSession.main.ts \
--replace-fail "\''${process.versions.electron}" "`jq -r '.devDependencies.electron' < package.json`"
# https://github.com/signalapp/Signal-Desktop/issues/7667
substituteInPlace ts/util/version.std.ts \
--replace-fail 'isAdhoc(version)' 'true'
# Disable auto-updater https://github.com/signalapp/Signal-Desktop/issues/7667
substituteInPlace config/production.json \
--replace-fail '"updatesEnabled": true' '"updatesEnabled": false'
# Nix builds do not need upstream release hooks (notarization and
# language-pack postprocessing), and they expect a different macOS