Skip to content

Commit

Permalink
Moved icon and adjusted build settings
Browse files Browse the repository at this point in the history
  • Loading branch information
RBFraphael committed Dec 31, 2023
1 parent 9cb33ea commit d6fb3c7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions modules/src/electron-builder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ productName: "Local.Host"
copyright: "Copyright (c) 2023 RBFraphael"
win:
target: ["dir"]
icon: "build/icon.ico"
icon: "icon.ico"
files:
- from: .
filter:
- config.json
- package.json
- main
- out
- config.json
- icon.ico
- package.json
afterPack: "./build/afterPack.js"
File renamed without changes.
2 changes: 1 addition & 1 deletion modules/src/main/modules/tray.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const init = (appWindow) => {
appWindow.hide();

if(!tray){
tray = new Tray(path.join(__dirname, "../../build/icon.ico"));
tray = new Tray(path.join(__dirname, "../../icon.ico"));

const contextMenu = Menu.buildFromTemplate([
{
Expand Down

0 comments on commit d6fb3c7

Please sign in to comment.