mirror of
https://github.com/Equicord/Equicord.git
synced 2025-01-31 03:33:36 -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() {
|
function applyPreviousUpdate() {
|
||||||
originalChmodSync(join(__dirname, ".new"), 0o755);
|
originalChmodSync(join(__dirname, ".new"), 0o775);
|
||||||
originalRenameSync(__dirname + ".new", __dirname);
|
originalRenameSync(__dirname + ".new", __dirname);
|
||||||
|
|
||||||
app.relaunch();
|
app.relaunch();
|
||||||
|
@ -133,7 +133,7 @@ function applyPreviousUpdate() {
|
||||||
|
|
||||||
app.on("will-quit", () => {
|
app.on("will-quit", () => {
|
||||||
if (hasUpdateToApplyOnQuit) {
|
if (hasUpdateToApplyOnQuit) {
|
||||||
originalChmodSync(join(__dirname, ".new"), 0o755);
|
originalChmodSync(join(__dirname, ".new"), 0o775);
|
||||||
originalRenameSync(__dirname + ".new", __dirname);
|
originalRenameSync(__dirname + ".new", __dirname);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue