Add API to add/remove app as login item
This commit is contained in:
parent
b55f55cfc4
commit
c5610b2186
3 changed files with 20 additions and 0 deletions
|
@ -140,6 +140,12 @@ class Browser : public WindowListObserver {
|
|||
|
||||
// Get login item status of app
|
||||
v8::Local<v8::Value> GetLoginItemStatus(mate::Arguments* args);
|
||||
|
||||
// Set app as a login item
|
||||
void SetAsLoginItem(mate::Arguments* args);
|
||||
|
||||
// Remove app as a login item
|
||||
void RemoveAsLoginItem();
|
||||
#endif // defined(OS_MACOSX)
|
||||
|
||||
#if defined(OS_WIN)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue