diff --git a/src/main.ts b/src/main.ts index f9f8e5c..83535fb 100644 --- a/src/main.ts +++ b/src/main.ts @@ -31,7 +31,7 @@ const robotEngine = new RobotEngine({ const wasOpenedAtLogin = () => { try { let loginSettings = app.getLoginItemSettings(); - return loginSettings.wasOpenedAtLogin; + return loginSettings.openAtLogin; } catch { return false; }