Add new app icon (#232)

This commit is contained in:
jeffvli 2023-09-21 11:24:20 -07:00
parent 18e35f2ba9
commit fd264daffc
22 changed files with 143 additions and 133 deletions

View file

@ -129,7 +129,9 @@ const createTray = () => {
return;
}
tray = isLinux() ? new Tray(getAssetPath('icon.png')) : new Tray(getAssetPath('icon.ico'));
tray = isLinux()
? new Tray(getAssetPath('icons/icon.png'))
: new Tray(getAssetPath('icons/icon.ico'));
const contextMenu = Menu.buildFromTemplate([
{
click: () => {
@ -212,7 +214,7 @@ const createWindow = async () => {
autoHideMenuBar: true,
frame: false,
height: 900,
icon: getAssetPath('icon.png'),
icon: getAssetPath('icons/icon.png'),
minHeight: 640,
minWidth: 480,
show: false,