mirror of
https://github.com/Equicord/Equicord.git
synced 2025-01-18 13:23:28 -05:00
Fix Dir Name
This commit is contained in:
parent
fe9aec0a80
commit
acd6e27d5f
1 changed files with 2 additions and 2 deletions
|
@ -123,7 +123,7 @@ async function migrateLegacyToAsar() {
|
|||
}
|
||||
|
||||
function applyPreviousUpdate() {
|
||||
originalChmodSync(join(__dirname, ".new"), "777");
|
||||
originalChmodSync(__dirname + ".new", "777");
|
||||
originalRenameSync(__dirname + ".new", __dirname);
|
||||
|
||||
app.relaunch();
|
||||
|
@ -133,7 +133,7 @@ function applyPreviousUpdate() {
|
|||
|
||||
app.on("will-quit", () => {
|
||||
if (hasUpdateToApplyOnQuit) {
|
||||
originalChmodSync(join(__dirname, ".new"), "777");
|
||||
originalChmodSync(__dirname + ".new", "777");
|
||||
originalRenameSync(__dirname + ".new", __dirname);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue