Large is only 48x48 on Linux

This commit is contained in:
Kevin Sawicki 2017-02-07 11:20:27 -08:00
parent fc1b7431c7
commit 82ac4ddf19
2 changed files with 2 additions and 2 deletions

View file

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

View file

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