Skip to content
This repository has been archived by the owner on Aug 27, 2020. It is now read-only.

Commit

Permalink
Added Icons
Browse files Browse the repository at this point in the history
  • Loading branch information
balkarjun committed Dec 7, 2018
1 parent b1dc1b1 commit 2641cc9
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ node_modules/
resources/
package-lock.json
TODO.md
ytdl.test.js
ytdl.test.js
dist/
Binary file added build/256x256.ico
Binary file not shown.
Binary file added build/256x256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,12 @@
"linux": {
"target": [
"AppImage"
]
],
"icon": "build/256x256.png"
},
"win": {
"target": "nsis",
"icon": "build/icon.ico"
"icon": "build/256x256.ico"
},
"nsis": {
"oneClick": false,
Expand All @@ -34,11 +35,11 @@
"files": [
"**/*",
"./static/**",
"./src/**"
"./src/**",
"./build/**"
],
"extraFiles": [
"./resources/ffmpeg/**",
"./resources/youtube-dl/**"
"./resources/**"
]
}
}
3 changes: 2 additions & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ app.on('ready', () => {
width: 490,
height: 625,
frame: false,
show: false
show: false,
icon: path.join(__dirname, '../build/256x256.png')
});
// win.loadURL('http://127.0.0.1:5500/');
win.loadURL(path.join('file:', __dirname, 'index.html'));
Expand Down

0 comments on commit 2641cc9

Please sign in to comment.