Fix more review
This commit is contained in:
parent
2b60df3d8b
commit
bcf0964c61
3 changed files with 12 additions and 6 deletions
|
@ -405,11 +405,17 @@ You can request the following paths by the name:
|
|||
|
||||
* `path` String
|
||||
* `options` Object (optional)
|
||||
* `size` String - Can be `small`, `normal`, `large`. Except for `large` on _macOS_
|
||||
* `size` String - Can be `small`, `normal`, `large`. The `large` size is not supported on _macOS_
|
||||
* `callback` Function
|
||||
* `error` `Error`
|
||||
* `icon` [NativeImage](native-image.md)
|
||||
|
||||
Fetches associated icon for using OS rules for handling icons.
|
||||
On _Windows_, there a 2 kinds of icons:
|
||||
- icons associated with certain file extension - `.mp3`, `.png`, etc.
|
||||
- icons inside file itself, like `.exe`, `.dll`, `.ico`.
|
||||
On _Linux_ and _macOS_, icons depend on application associated with file mime type.
|
||||
|
||||
### `app.setPath(name, path)`
|
||||
|
||||
* `name` String
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue