From 12c8c9f4cb6580dcf82afffd057424c6a1f076f8 Mon Sep 17 00:00:00 2001 From: Adam Weeden Date: Mon, 26 Apr 2021 12:25:47 -0400 Subject: [PATCH] API doc: Move misplaced macOS shortcuts doc (PR #1158) When I added this documentation originally, I guess I placed it in the wrong location. --- docs/api.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/api.md b/docs/api.md index 0ba2c44..f9900c9 100644 --- a/docs/api.md +++ b/docs/api.md @@ -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] ```