docs: update setAboutPanelOptions iconPath description (#23998)

* Updated doc setAboutPanelOptions iconPath #23833

* Simplify docs
This commit is contained in:
Evgeny 2020-06-09 02:46:25 +02:00 committed by GitHub
parent 980e592271
commit aa32fbf1d6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1222,7 +1222,7 @@ Show the app's about panel options. These options can be overridden with `app.se
* `credits` String (optional) _macOS_ _Windows_ - Credit information.
* `authors` String[] (optional) _Linux_ - List of app authors.
* `website` String (optional) _Linux_ - The app's website.
* `iconPath` String (optional) _Linux_ _Windows_ - Path to the app's icon. On Linux, will be shown as 64x64 pixels while retaining aspect ratio.
* `iconPath` String (optional) _Linux_ _Windows_ - Path to the app's icon in a JPEG or PNG file format. On Linux, will be shown as 64x64 pixels while retaining aspect ratio.
Set the about panel options. This will override the values defined in the app's `.plist` file on macOS. See the [Apple docs][about-panel-options] for more details. On Linux, values must be set in order to be shown; there are no defaults.