mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
Merge pull request #5833 from CharlieHess/osx-global-defaults
Support array / dictionary types in getUserDefault
This commit is contained in:
@@ -39,7 +39,7 @@ Removes the subscriber with `id`.
|
||||
|
||||
* `key` String
|
||||
* `type` String - Can be `string`, `boolean`, `integer`, `float`, `double`,
|
||||
`url`.
|
||||
`url`, `array`, `dictionary`
|
||||
|
||||
Get the value of `key` in system preferences.
|
||||
|
||||
@@ -50,6 +50,9 @@ are:
|
||||
* `AppleAquaColorVariant: integer`
|
||||
* `AppleHighlightColor: string`
|
||||
* `AppleShowScrollBars: string`
|
||||
* `NSNavRecentPlaces: array`
|
||||
* `NSPreferredWebServices: dictionary`
|
||||
* `NSUserDictionaryReplacementItems: array`
|
||||
|
||||
### `systemPreferences.isAeroGlassEnabled()` _Windows_
|
||||
|
||||
|
||||
Reference in New Issue
Block a user