Change file format of icon
This commit is contained in:
parent
f58a4c1b0c
commit
f609e5e453
1 changed files with 2 additions and 2 deletions
|
@ -52,7 +52,7 @@ app.on('ready', async () => {
|
|||
webPreferences: {
|
||||
nodeIntegration: true,
|
||||
},
|
||||
icon: path.join(__dirname, '../../dist-assets/icon.png'),
|
||||
icon: path.join(__dirname, '../../dist-assets/icon.ico'),
|
||||
});
|
||||
|
||||
mainWindow.setMenu(null);
|
||||
|
@ -101,7 +101,7 @@ app.on('ready', async () => {
|
|||
});
|
||||
|
||||
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([
|
||||
{
|
||||
label: 'Show',
|
||||
|
|
Reference in a new issue