Merge pull request 'only run osu updater when launcher pulled updates' (#4) from dev into master
Reviewed-on: #4
This commit is contained in:
commit
9f3c4d4fa4
5
main.js
5
main.js
|
@ -477,9 +477,9 @@ function registerIPCPipes() {
|
||||||
}
|
}
|
||||||
await new Promise((res) => setTimeout(res, 1000));
|
await new Promise((res) => setTimeout(res, 1000));
|
||||||
}
|
}
|
||||||
|
if (updateFiles.length > 0) {
|
||||||
mainWindow.webContents.send("ezpplauncher:launchstatus", {
|
mainWindow.webContents.send("ezpplauncher:launchstatus", {
|
||||||
status: "Launching osu! updater to verify...",
|
status: "Launching osu! updater to verify updates...",
|
||||||
});
|
});
|
||||||
await new Promise((res) => setTimeout(res, 1000));
|
await new Promise((res) => setTimeout(res, 1000));
|
||||||
|
|
||||||
|
@ -501,6 +501,7 @@ function registerIPCPipes() {
|
||||||
}, 500);
|
}, 500);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
}
|
||||||
|
|
||||||
await new Promise((res) => setTimeout(res, 1000));
|
await new Promise((res) => setTimeout(res, 1000));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user