Browse Source

Large is only 48x48 on Linux

Kevin Sawicki 8 years ago
parent
commit
82ac4ddf19
2 changed files with 2 additions and 2 deletions
  1. 1 1
      docs/api/app.md
  2. 1 1
      spec/api-app-spec.js

+ 1 - 1
docs/api/app.md

@@ -408,7 +408,7 @@ You can request the following paths by the name:
   * `size` String
     * `small` - 16x16
     * `normal` - 32x32
-    * `large` - 48x48. This size is not supported on _macOS_.
+    * `large` - 48x48 on _Linux_, 32x32 on _Windows_, unsupported on _macOS_.
 * `callback` Function
   * `error` Error
   * `icon` [NativeImage](native-image.md)

+ 1 - 1
spec/api-app-spec.js

@@ -462,7 +462,7 @@ describe('app module', function () {
     const sizes = {
       small: 16,
       normal: 32,
-      large: 48
+      large: process.platform === 'win32' ? 32 : 48
     }
 
     it('fetches a non-empty icon', function (done) {