Fix Tray icon (#1059)
This commit is contained in:
parent
fad3edb764
commit
92a70f086c
1 changed files with 3 additions and 2 deletions
|
@ -298,8 +298,8 @@ export class AppEvents {
|
||||||
this.i18n = utils.getLocale(utils.getStoreValue('general.language'))
|
this.i18n = utils.getLocale(utils.getStoreValue('general.language'))
|
||||||
|
|
||||||
const ciderIcon = nativeImage.createFromPath(path.join(__dirname, `../../resources/icons/icon.png`)).resize({
|
const ciderIcon = nativeImage.createFromPath(path.join(__dirname, `../../resources/icons/icon.png`)).resize({
|
||||||
width: 20,
|
width: 24,
|
||||||
height: 20
|
height: 24
|
||||||
})
|
})
|
||||||
|
|
||||||
const menu = Menu.buildFromTemplate([
|
const menu = Menu.buildFromTemplate([
|
||||||
|
@ -308,6 +308,7 @@ export class AppEvents {
|
||||||
label: app.getName(),
|
label: app.getName(),
|
||||||
enabled: false,
|
enabled: false,
|
||||||
icon: ciderIcon,
|
icon: ciderIcon,
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
{type: 'separator'},
|
{type: 'separator'},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue