Commit b580b650 authored by 神楽坂玲奈's avatar 神楽坂玲奈

fix ico

parent b69b95d2
...@@ -171,7 +171,7 @@ function createWindow() { ...@@ -171,7 +171,7 @@ function createWindow() {
let tray; let tray;
function createTray() { 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) => { tray.on('click', (event) => {
console.log(event); console.log(event);
if (event.metaKey) { if (event.metaKey) {
......
...@@ -21,7 +21,7 @@ ...@@ -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" "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": { "dependencies": {
"@angular/animations": "^4.1.3", "@angular/animations": "latest",
"@angular/common": "latest", "@angular/common": "latest",
"@angular/compiler": "latest", "@angular/compiler": "latest",
"@angular/core": "latest", "@angular/core": "latest",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment