mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-02 18:39:05 +01:00
await more async functions in emain
This commit is contained in:
parent
4de922ab2a
commit
5187150e3f
@ -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();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user