Skip to content

Commit

Permalink
fix ico
Browse files Browse the repository at this point in the history
  • Loading branch information
zh99998 committed Jun 1, 2017
1 parent b69b95d commit b580b65
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ function createWindow() {

let tray;
function createTray() {
tray = new Tray(path.join(process.env['NODE_ENV'] === 'production' ? process.resourcesPath : app.getAppPath(), 'images', 'icon.ico'));
tray = new Tray(path.join('images', 'icon.ico'));
tray.on('click', (event) => {
console.log(event);
if (event.metaKey) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"i18n:download": "curl --output locale/messages.en-US.xlf --retry 5 --location --user ${TRANSIFEX_USERNAME}:${TRANSIFEX_PASSWORD} https://www.transifex.com/api/2/project/moecube/resource/messages/translation/en_US/?file && sed -i.bak 's/\\&amp;/\\&/g; s/\\&lt;/</g; s/\\&gt;/>/g; s/\\&quot;/\"/g;' locale/messages.en-US.xlf"
},
"dependencies": {
"@angular/animations": "^4.1.3",
"@angular/animations": "latest",
"@angular/common": "latest",
"@angular/compiler": "latest",
"@angular/core": "latest",
Expand Down

0 comments on commit b580b65

Please sign in to comment.