🍎 Add 'isDarkModeEnabled' to app api
This commit is contained in:
parent
5839d7dcd5
commit
eaac67ac60
4 changed files with 13 additions and 0 deletions
|
@ -461,6 +461,10 @@ if (browserOptions.transparent) {
|
|||
}
|
||||
```
|
||||
|
||||
### `app.isDarkModeEnabled()` _OS X_
|
||||
|
||||
This method returns `true` if Dark Mode is enabled, and `false` otherwise.
|
||||
|
||||
### `app.commandLine.appendSwitch(switch[, value])`
|
||||
|
||||
Append a switch (with optional `value`) to Chromium's command line.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue