Skip to content

Commit

Permalink
refactor: update icons path
Browse files Browse the repository at this point in the history
  • Loading branch information
4gray committed Jul 17, 2022
1 parent 647643e commit 57e30ca
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
*.yml
dist
build
coverage
release
6 changes: 3 additions & 3 deletions electron-builder.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"!tslint.json"
],
"win": {
"icon": "dist/assets/icons",
"icon": "build/assets/icons",
"compression": "maximum",
"target": [
{
Expand All @@ -28,14 +28,14 @@
]
},
"mac": {
"icon": "dist/assets/icons/icon-1024.png",
"icon": "build/assets/icons/icon-1024.png",
"target": {
"target": "dmg",
"arch": ["universal"]
}
},
"linux": {
"icon": "dist/assets/icons",
"icon": "build/assets/icons",
"category": "Video",
"target": [
{
Expand Down
2 changes: 1 addition & 1 deletion electron/menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export class AppMenu {
openAboutWindow({
icon_path: path.join(
__dirname,
'dist/assets/icons/icon.png'
'build/assets/icons/icon.png'
),
copyright: 'Copyright (c) 2020-2021 4gray',
package_json_dir: __dirname,
Expand Down

0 comments on commit 57e30ca

Please sign in to comment.