mirror of
https://github.com/Equicord/Equicord.git
synced 2025-01-18 21:33:35 -05:00
Same as Before
This commit is contained in:
parent
fd718e09e3
commit
b7ca3a0436
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue