Merge pull request #5833 from CharlieHess/osx-global-defaults

Support array / dictionary types in getUserDefault
This commit is contained in:
Cheng Zhao 2016-06-03 08:36:44 +00:00 committed by GitHub
commit f59eecb1cc
5 changed files with 40 additions and 10 deletions

View file

@ -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_