diff --git a/patches/app-builder-lib+24.13.3.patch b/patches/app-builder-lib+24.13.3.patch index 974d704ba726..43a058815712 100644 --- a/patches/app-builder-lib+24.13.3.patch +++ b/patches/app-builder-lib+24.13.3.patch @@ -138,7 +138,7 @@ index 0000000..f198807 +exports.addWinAsarIntegrity = addWinAsarIntegrity; +//# sourceMappingURL=electronWin.js.map diff --git a/node_modules/app-builder-lib/out/targets/LinuxTargetHelper.js b/node_modules/app-builder-lib/out/targets/LinuxTargetHelper.js -index c3f1000..d4bb196 100644 +index c3f1000..62bd27c 100644 --- a/node_modules/app-builder-lib/out/targets/LinuxTargetHelper.js +++ b/node_modules/app-builder-lib/out/targets/LinuxTargetHelper.js @@ -100,7 +100,7 @@ class LinuxTargetHelper { @@ -194,6 +194,25 @@ index fe5d45c..8bb2bf4 100644 !endif !insertmacro FIND_PROCESS "${APP_EXECUTABLE_FILENAME}" $R0 ${If} $R0 == 0 +diff --git a/node_modules/app-builder-lib/templates/nsis/include/installer.nsh b/node_modules/app-builder-lib/templates/nsis/include/installer.nsh +index 34e91df..73bfffc 100644 +--- a/node_modules/app-builder-lib/templates/nsis/include/installer.nsh ++++ b/node_modules/app-builder-lib/templates/nsis/include/installer.nsh +@@ -90,7 +90,13 @@ + ${if} $installMode == "all" + SetShellVarContext current + ${endif} +- !insertmacro copyFile "$EXEPATH" "$LOCALAPPDATA\${APP_INSTALLER_STORE_FILE}" ++ # SIGNAL CHANGE START ++ # This file is needed for electron-builder's native incremental updates, ++ # but we have our own system so no need to place it. Clean it up instead. ++ # ++ # !insertmacro copyFile "$EXEPATH" "$LOCALAPPDATA\${APP_INSTALLER_STORE_FILE}" ++ RMDir /r /REBOOTOK "$LOCALAPPDATA\signal-desktop-updater" ++ # SIGNAL CHANGE END + ${if} $installMode == "all" + SetShellVarContext all + ${endif} diff --git a/node_modules/app-builder-lib/templates/nsis/installSection.nsh b/node_modules/app-builder-lib/templates/nsis/installSection.nsh index 053772f..7981a4e 100644 --- a/node_modules/app-builder-lib/templates/nsis/installSection.nsh