Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Fix load

Manav Rathia0d44b58e218
diff --git a/desktop/src/main.ts b/desktop/src/main.ts
index 8beb45881b..eb1114cc4c 100644
--- a/desktop/src/main.ts
+++ b/desktop/src/main.ts
@@ -365,7 +365,7 @@ const main = () => {
// Emitted once, when Electron has finished initializing.
//
// Note that some Electron APIs can only be used after this event occurs.
- app.on("ready", () => {
+ void app.whenReady().then(() => {
void (async () => {
// Create window and prepare for the renderer.
mainWindow = createMainWindow();