await more async functions in emain

This commit is contained in:
Evan Simkowitz 2024-08-06 15:32:29 -07:00
parent 4de922ab2a
commit 5187150e3f
No known key found for this signature in database

View File

@ -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();
}
});
}