Skip to content

Commit

Permalink
fix build info for os [tested on Linux only]
Browse files Browse the repository at this point in the history
  • Loading branch information
A1Gard committed Aug 4, 2021
1 parent 9c79963 commit 6b3c8ea
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 35 deletions.
8 changes: 8 additions & 0 deletions public/anubias.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=Anubias
Comment=Anubias app
Exec=application
Icon=application.png
Categories=Development
69 changes: 34 additions & 35 deletions vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,42 +3,41 @@ module.exports = {
electronBuilder: {
preload: './src/preload.js',
// Or, for multiple preload files:
// "appId": "app.anubias.desktop",
// "productName": "Anubias",
// "copyright": "Copyright © 2021 ${author}",
// // "asar": false,
// "mac": {
// "target": "dmg",
// "icon": "./public/icon.icns",
// "category": "public.app-category.developer-tools"
// },
// "win": {
// "target": [
// "nsis",
// "msi"
// ],
// "icon": "./public/256x256.png"
// },
// "linux": {
// // "category": "Development",
// "target": "AppImage",
// "desktop": "Anubias"
// },
// "directories": {
// "buildResources": "public",
// },
// // "publish": null,
// "fileAssociations": [
// {
// "ext": "anb",
// "name": "Anbuias project",
// "role": "Anubias",
// "perMachine": true,
// "description": "Anubias project file to develop native app anywhere painless"
// }
// ],
builderOptions: {
extraResources: [
"appId": "app.anubias.desktop",
"productName": "Anubias",
"copyright": "Copyright © 2021 ${author}",
"mac": {
"target": "dmg",
"icon": "./public/icon.icns",
"category": "public.app-category.developer-tools"
},
"win": {
"target": [
"msi",
"portable"
],
"icon": "./public/256x256.png"
},
"linux": {
"category": "Development",
"target": "AppImage",
"desktop": "./public/anubias.desktop"
},
"directories": {
"buildResources": "public",
},
// "publish": null,
"fileAssociations": [
{
"ext": "anb",
"name": "Anbuias project",
"role": "None",
"mimeType": "application/json",
"description": "Anubias project file to develop native app anywhere painless"
}
],
"extraResources": [
{
"from": "resources",
"to": "resources",
Expand Down

0 comments on commit 6b3c8ea

Please sign in to comment.