Skip to content

Commit

Permalink
Add exe icon
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmave126 committed Jan 30, 2018
1 parent a95a987 commit 0a61c64
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"buildreact": "browserify ./app/app.js -t babelify -o static/js/bundle.js",
"postinstall": "electron-rebuild",
"clean": "rimraf build",
"pack": "npm run buildreact && npm run clean && electron-packager . wallpaper-switcher --platform=win32 --arch=x64 --overwrite --out=build --ignore=\"\\.gitignore\" --ignore=\".*\\.sublime-project\" --ignore=\".*\\.sublime-workspace\" --ignore=\"\\.tern-project\" --ignore=\"app/\""
"pack": "npm run buildreact && npm run clean && electron-packager . wallpaper-switcher --platform=win32 --arch=x64 --overwrite --out=build --icon=static/res/icon.ico --ignore=\"\\.gitignore\" --ignore=\".*\\.sublime-project\" --ignore=\".*\\.sublime-workspace\" --ignore=\"\\.tern-project\" --ignore=\"app/\""
},
"keywords": [
"Electron",
Expand Down
2 changes: 1 addition & 1 deletion service.js
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ exports.installService = function() {
});
const val = isDev
? `"${process.execPath}" "${process.cwd()}" service`
: `"${process.execPath} service"`;
: `"${process.execPath}" service`;
key.set("Wallpaper Switcher Daemon", Registry.REG_SZ, val, (err) => {
if(err) {
console.error("Install failed: %s", err.message);
Expand Down
Binary file added static/res/icon.ico
Binary file not shown.

0 comments on commit 0a61c64

Please sign in to comment.