Yury Solovyov 8 years ago
parent
commit
fe99b255c4
1 changed files with 8 additions and 0 deletions
  1. 8 0
      docs/api/app.md

+ 8 - 0
docs/api/app.md

@@ -401,6 +401,14 @@ You can request the following paths by the name:
 * `videos` Directory for a user's videos.
 * `pepperFlashSystemPlugin`  Full path to the system version of the Pepper Flash plugin.
 
+### `app.getFileIcon(path, [options], callback)`
+
+* `path` String
+* `options` Object (optional)
+  * `size` String - Defaults to `normal`. Can be `small`, `normal`, `large`
+* `callback` Function
+  * `Icon` [NativeImage](native-image.md)
+
 ### `app.setPath(name, path)`
 
 * `name` String