API doc: Move misplaced macOS shortcuts doc (PR #1158)

When I added this documentation originally, I guess I placed it in the wrong location.
This commit is contained in:
Adam Weeden 2021-04-26 12:25:47 -04:00 committed by GitHub
parent 9f561c0091
commit 12c8c9f4cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 2 deletions

View File

@ -65,6 +65,7 @@
- [[file-download-options]](#file-download-options)
- [[always-on-top]](#always-on-top)
- [[global-shortcuts]](#global-shortcuts)
- [Global Shortucts on macOS](#global-shortucts-on-macos)
- [[browserwindow-options]](#browserwindow-options)
- [[darwin-dark-mode-support]](#darwin-dark-mode-support)
- [[background-color]](#background-color)
@ -239,8 +240,6 @@ The icon parameter can either be a `.icns` or a `.png` file if the [optional dep
If your `PATH` has our image-conversion dependencies (`iconutil`, and either ImageMagick `convert` + `identify`, or GraphicsMagick `gm`), Nativefier will automatically convert the `.png` to a `.icns` for you.
On MacOS 10.14+, if you have set a global shortcut that includes a Media key, the user will need to be prompted for permissions to enable these keys in System Preferences > Security & Privacy > Accessibility.
###### Manually Converting `.icns`
[iConvertIcons](https://iconverticons.com/online/) can be used to convert `.pngs`, though it can be quite cumbersome.
@ -764,6 +763,10 @@ Example `shortcuts.json` for `https://deezer.com` & `https://soundcloud.com` to
]
```
#### Global Shortucts on macOS
On MacOS 10.14+, if you have set a global shortcut that includes a Media key, the user will need to be prompted for permissions to enable these keys in System Preferences > Security & Privacy > Accessibility.
#### [browserwindow-options]
```