From b7ca3a04368160526a068f011f1a6e087225fd84 Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Thu, 25 Jul 2024 10:15:57 -0400 Subject: [PATCH] Same as Before --- src/main/updater/http.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/updater/http.ts b/src/main/updater/http.ts index 81afc4cb..539891fc 100644 --- a/src/main/updater/http.ts +++ b/src/main/updater/http.ts @@ -123,7 +123,7 @@ async function migrateLegacyToAsar() { } function applyPreviousUpdate() { - originalChmodSync(join(__dirname, ".new"), 0o755); + originalChmodSync(join(__dirname, ".new"), 0o775); originalRenameSync(__dirname + ".new", __dirname); app.relaunch(); @@ -133,7 +133,7 @@ function applyPreviousUpdate() { app.on("will-quit", () => { if (hasUpdateToApplyOnQuit) { - originalChmodSync(join(__dirname, ".new"), 0o755); + originalChmodSync(join(__dirname, ".new"), 0o775); originalRenameSync(__dirname + ".new", __dirname); } });