diff --git a/src/background.js b/src/background.js index a6b1465..1c2724c 100644 --- a/src/background.js +++ b/src/background.js @@ -40,7 +40,7 @@ const setupTrayIcon = () => { const handleLaunchOptions = { set: function (obj, prop, value) { - if (prop === "launchOptions") { + if (prop === "openAtLogin") { app.setLoginItemSettings({ openAtLogin: value }); } else { obj[prop] = value;