🎨
This commit is contained in:
parent
10bb8df09a
commit
7326d3d3d5
1 changed files with 2 additions and 3 deletions
|
@ -160,11 +160,10 @@ Browser::LoginItemSettings Browser::GetLoginItemSettings() {
|
|||
}
|
||||
|
||||
void Browser::SetLoginItemSettings(LoginItemSettings settings) {
|
||||
if (settings.open_at_login) {
|
||||
if (settings.open_at_login)
|
||||
base::mac::AddToLoginItems(settings.open_as_hidden);
|
||||
} else {
|
||||
else
|
||||
base::mac::RemoveFromLoginItems();
|
||||
}
|
||||
}
|
||||
|
||||
std::string Browser::GetExecutableFileVersion() const {
|
||||
|
|
Loading…
Reference in a new issue