Add was prefix to current launch settings
This commit is contained in:
parent
c100300764
commit
2633c2f735
2 changed files with 8 additions and 8 deletions
|
@ -91,8 +91,8 @@ struct Converter<Browser::LoginItemSettings> {
|
|||
dict.Set("openAtLogin", val.open_at_login);
|
||||
dict.Set("openAsHidden", val.open_as_hidden);
|
||||
dict.Set("restoreState", val.restore_state);
|
||||
dict.Set("openedAtLogin", val.opened_at_login);
|
||||
dict.Set("openedAsHidden", val.opened_as_hidden);
|
||||
dict.Set("wasOpenedAtLogin", val.opened_at_login);
|
||||
dict.Set("wasOpenedAsHidden", val.opened_as_hidden);
|
||||
return dict.GetHandle();
|
||||
}
|
||||
};
|
||||
|
|
|
@ -315,8 +315,8 @@ describe('app module', function () {
|
|||
assert.deepEqual(app.getLoginItemSettings(), {
|
||||
openAtLogin: true,
|
||||
openAsHidden: false,
|
||||
openedAtLogin: false,
|
||||
openedAsHidden: false,
|
||||
wasOpenedAtLogin: false,
|
||||
wasOpenedAsHidden: false,
|
||||
restoreState: false
|
||||
})
|
||||
|
||||
|
@ -324,8 +324,8 @@ describe('app module', function () {
|
|||
assert.deepEqual(app.getLoginItemSettings(), {
|
||||
openAtLogin: true,
|
||||
openAsHidden: true,
|
||||
openedAtLogin: false,
|
||||
openedAsHidden: false,
|
||||
wasOpenedAtLogin: false,
|
||||
wasOpenedAsHidden: false,
|
||||
restoreState: false
|
||||
})
|
||||
|
||||
|
@ -333,8 +333,8 @@ describe('app module', function () {
|
|||
assert.deepEqual(app.getLoginItemSettings(), {
|
||||
openAtLogin: false,
|
||||
openAsHidden: false,
|
||||
openedAtLogin: false,
|
||||
openedAsHidden: false,
|
||||
wasOpenedAtLogin: false,
|
||||
wasOpenedAsHidden: false,
|
||||
restoreState: false
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue