Skip to content

Commit

Permalink
Fix menu icon path
Browse files Browse the repository at this point in the history
  • Loading branch information
dkdkwizard committed Feb 15, 2024
1 parent f4f1b36 commit c24c864
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/node/menu-manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ const {
BrowserWindow,
Menu,
MenuItem,
nativeImage,
shell,
ipcMain,
} = require('electron');
const path = require('path');
const Store = require('electron-store');
const resource = require('./menu-resource');
const events = require('./ipc-events');
Expand Down Expand Up @@ -64,7 +64,7 @@ function buildFileMenu(fnKey, callback) {
id: 'SAVE_TO_CLOUD',
label: r.save_to_cloud,
click: callback,
icon: '../../public/img/icon-flux-plus@4x.png',
icon: path.join(__dirname, '../..', 'public/img/icon-flux-plus@4x.png'),
},
{ type: 'separator' },
{
Expand Down

0 comments on commit c24c864

Please sign in to comment.