Same as Before

This commit is contained in:
thororen1234 2024-07-25 10:15:57 -04:00
parent fd718e09e3
commit b7ca3a0436

View file

@ -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);
}
});