Revert "app.makeSingleInstance is not available on OS X"
This reverts commit bcb78ebc00
.
This commit is contained in:
parent
f9d797d1ea
commit
70e74d05e0
2 changed files with 1 additions and 5 deletions
|
@ -288,10 +288,6 @@ v8::Local<v8::Value> App::DefaultSession(v8::Isolate* isolate) {
|
|||
|
||||
bool App::MakeSingleInstance(
|
||||
const ProcessSingleton::NotificationCallback& callback) {
|
||||
#if defined(OS_MACOSX)
|
||||
LOG(ERROR) << "MakeSingleInstance is not implemnted on OS X";
|
||||
return false;
|
||||
#endif
|
||||
if (process_singleton_.get())
|
||||
return false;
|
||||
|
||||
|
|
|
@ -290,7 +290,7 @@ URLs that fall under "Local Intranet" sites (i.e. are in the same domain as you)
|
|||
However, this detection often fails when corporate networks are badly configured,
|
||||
so this lets you co-opt this behavior and enable it for all URLs.
|
||||
|
||||
### `app.makeSingleInstance(callback)` _Windows_ _Linux_
|
||||
### `app.makeSingleInstance(callback)`
|
||||
|
||||
* `callback` Function
|
||||
|
||||
|
|
Loading…
Reference in a new issue