Skip to content

armgit / ente

Public Imported from GitHub
0

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

Revert to the now un-deprecated API that we were using earlier

Manav Rathi5f7577309a8a
diff --git a/desktop/src/main/services/auto-launcher.ts b/desktop/src/main/services/auto-launcher.ts
index 0942a49359..351f20a38a 100644
--- a/desktop/src/main/services/auto-launcher.ts
+++ b/desktop/src/main/services/auto-launcher.ts
@@ -42,7 +42,7 @@ class AutoLauncher {
if (this.autoLaunch) {
return app.commandLine.hasSwitch("hidden");
} else {
- return app.getLoginItemSettings().openAtLogin;
+ return app.getLoginItemSettings().wasOpenedAtLogin;
}
}
}