Fix Tray icon (#1059)

This commit is contained in:
Gabriel Davila 2022-05-19 20:52:34 -03:00 committed by GitHub
parent fad3edb764
commit 92a70f086c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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'},