Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Launch at Login setting for macOS and Windows #774

Merged
8 changes: 8 additions & 0 deletions source/menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,14 @@ Press Command/Ctrl+R in Caprine to see your changes.
focusedWindow.setAlwaysOnTop(item.checked);
}
},
{
label: 'Launch at Login',
whitecrownclown marked this conversation as resolved.
Show resolved Hide resolved
type: 'checkbox',
checked: app.getLoginItemSettings().openAtLogin,
click(item) {
app.setLoginItemSettings({openAtLogin: item.checked, openAsHidden: item.checked});
}
},
{
label: 'Auto Hide Menu Bar',
visible: !is.macos,
Expand Down