Change file format of icon

This commit is contained in:
GHOSCHT 2020-08-01 22:47:53 +02:00
parent f58a4c1b0c
commit f609e5e453

View file

@ -52,7 +52,7 @@ app.on('ready', async () => {
webPreferences: { webPreferences: {
nodeIntegration: true, nodeIntegration: true,
}, },
icon: path.join(__dirname, '../../dist-assets/icon.png'), icon: path.join(__dirname, '../../dist-assets/icon.ico'),
}); });
mainWindow.setMenu(null); mainWindow.setMenu(null);
@ -101,7 +101,7 @@ app.on('ready', async () => {
}); });
function createTray() { function createTray() {
let appIcon = new Tray(path.join(__dirname, '../../dist-assets/icon.png')); let appIcon = new Tray(path.join(__dirname, '../../dist-assets/icon.ico'));
const contextMenu = Menu.buildFromTemplate([ const contextMenu = Menu.buildFromTemplate([
{ {
label: 'Show', label: 'Show',