Skip to content

Commit b38c027

Browse files
committed
Fixed tray icon
1 parent fde56ef commit b38c027

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

electron-modules/init.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ async function init() {
2727

2828
app.on("ready", () => {
2929
createWindow();
30-
tray = new Tray(path.join(__dirname, '../public/icon_128.png'));
30+
tray = new Tray(path.join(__dirname, '../public/icon_16.png'));
3131
const contextMenu = Menu.buildFromTemplate([
3232
{
3333
label: 'Hide/Expand',
@@ -98,7 +98,7 @@ function createWindow() {
9898
webPreferences: {
9999
nodeIntegration: true,
100100
preload: __dirname + '/preload.js',
101-
icon: path.join(__dirname, './public/icon_128.png')
101+
icon: path.join(__dirname, './public/icon_16.png')
102102
}
103103
});
104104

public/icon_16.png

1.21 KB
Loading

0 commit comments

Comments
 (0)