mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Large is only 48x48 on Linux
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user