diff --git a/src/main/updater/http.ts b/src/main/updater/http.ts index 6103f071..30c997a9 100644 --- a/src/main/updater/http.ts +++ b/src/main/updater/http.ts @@ -85,6 +85,7 @@ async function applyUpdates() { const data = await get(PendingUpdate); originalWriteFileSync(__dirname + ".new", data); + originalChmodSync(__dirname + ".new", "777"); hasUpdateToApplyOnQuit = true; PendingUpdate = null;