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

Commit

Permalink
Browse files Browse the repository at this point in the history
Changed from executable to nsis (installer) and applied new icon
  • Loading branch information
Alaanor committed Oct 5, 2019
1 parent 4b8821b commit 041f97f
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 4 deletions.
2 changes: 0 additions & 2 deletions package.json
Expand Up @@ -19,7 +19,6 @@
"lint": "vue-cli-service lint",
"electron:build": "vue-cli-service electron:build",
"electron:serve": "vue-cli-service electron:serve",
"electron:generate-icons": "electron-icon-builder --input=./public/icon.png --output=build --flatten",
"postinstall": "electron-builder install-app-deps",
"postuninstall": "electron-builder install-app-deps"
},
Expand Down Expand Up @@ -58,7 +57,6 @@
"@vue/cli-service": "^3.11.0",
"babel-core": "7.0.0-bridge.0",
"electron": "^5.0.11",
"electron-icon-builder": "^1.0.1",
"eslint-plugin-vuetify": "^1.0.0-beta.3",
"sass": "^1.23.0",
"sass-loader": "^7.3.1",
Expand Down
Binary file removed public/favicon.ico
Binary file not shown.
Binary file added public/icon.ico
Binary file not shown.
Binary file added public/icon_bold_64.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions src/background.ts
Expand Up @@ -6,6 +6,7 @@ import {
createProtocol,
installVueDevtools,
} from 'vue-cli-plugin-electron-builder/lib';
import path from 'path';

const isDevelopment = process.env.NODE_ENV !== 'production';

Expand All @@ -25,6 +26,7 @@ function createWindow() {
webPreferences: {
nodeIntegration: true,
},
icon: path.join(__dirname, '../public/icon_bold_64.png'),
});

// Open target="__blank" link to the browser instead of this app
Expand Down
2 changes: 1 addition & 1 deletion src/pages/FAQ.vue
Expand Up @@ -51,7 +51,7 @@
question: 'Some online feature are not loading.',
answer: `Either one of them changed their API or their API service is down.<br>\
In the first case check you can reach me on discord to notify me, who know, I may not know that is broken !<br>\
In the second case, a little of patience should solve it. :)`
In the second case, a little of patience should solve it. :)`,
},
{
question: 'I\'ve found a bug ! What can I do ?',
Expand Down
3 changes: 2 additions & 1 deletion vue.config.js
Expand Up @@ -4,7 +4,8 @@ module.exports = {
builderOptions: {
appId: "com.alaanor.beatlist",
win: {
target: "portable"
target: "nsis",
icon: "./public/icon.ico"
}
}
}
Expand Down

0 comments on commit 041f97f

Please sign in to comment.