Skip to content

Commit

Permalink
fix: open at login option does not persist
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander committed Mar 1, 2021
1 parent c16d5c4 commit ecb5451
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ecb5451

Please sign in to comment.