mirror of
https://github.com/wavetermdev/backup.git
synced 2026-08-05 13:57:07 -07:00
await more async functions in emain
This commit is contained in:
+3
-3
@@ -806,13 +806,13 @@ async function appMain() {
|
||||
const ready = await waveSrvReady;
|
||||
console.log("wavesrv ready signal received", ready, Date.now() - startTs, "ms");
|
||||
await electronApp.whenReady();
|
||||
relaunchBrowserWindows();
|
||||
await relaunchBrowserWindows();
|
||||
await configureAutoUpdater();
|
||||
globalIsStarting = false;
|
||||
|
||||
electronApp.on("activate", () => {
|
||||
electronApp.on("activate", async () => {
|
||||
if (electron.BrowserWindow.getAllWindows().length === 0) {
|
||||
createNewWaveWindow();
|
||||
await createNewWaveWindow();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user