Skip to content

Commit

Permalink
make build options
Browse files Browse the repository at this point in the history
  • Loading branch information
A1Gard committed Aug 2, 2021
1 parent 13ed255 commit 6b4f67e
Show file tree
Hide file tree
Showing 11 changed files with 10,354 additions and 84 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,10 @@ npm run lint
sudo sysctl kernel.unprivileged_userns_clone=1
```

### notes

- if you have problem to run or install use `yarn` replace `npm`
-

### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).
162 changes: 80 additions & 82 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"name": "anubias",
"version": "1.0.0 alpha",
"version": "1.0.0-alpha",
"private": false,
"description": "anubias desktop application",
"asarUnpack": ["**/*.node"],
"author": {
"name": "A1Gard"
"name": "xStack Team"
},
"scripts": {
"serve": "vue-cli-service serve",
Expand Down
Binary file added public/256x256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/favicon.ico
Binary file not shown.
Binary file added public/icon.icns
Binary file not shown.
Binary file added public/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ async function createWindow() {

// Create the browser window.
win = new BrowserWindow({
icon: 'public/256x256.png',
width: 1000,
height: 600,
minHeight:600,
Expand Down
32 changes: 32 additions & 0 deletions vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,38 @@ module.exports = {
electronBuilder: {
preload: './src/preload.js',
// Or, for multiple preload files:
"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": [
"nsis",
"msi"
],
"icon": "./public/256x256.png"
},
"linux": {
"category": "Development",
"target": "AppImage",
"desktop": "Anubias"
},
"directories": {
"buildResources": "public"
},
"fileAssociations": [
{
"ext": "anb",
"name": "Anbuias project",
"role": "Anubias",
"perMachine": true,
"description": "Anubias project file to develope native app anywhere painless"
}
]
// preload: { preload: 'src/preload.js', otherPreload: 'src/preload2.js' }
}
}
Expand Down
Loading

0 comments on commit 6b4f67e

Please sign in to comment.