Skip to content

Commit

Permalink
added desktop build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcorvi committed Aug 26, 2018
1 parent 8c2ad12 commit 0a27995
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,4 @@ npm-debug.log*
yarn-debug.log*
yarn-error.log*

/dist/electron
/dist/phonegap
/dist/phonegap.zip
/dist/desktop-builds
Binary file added icon-final.ico
Binary file not shown.
Binary file added icon-final.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 removed icon.png
Binary file not shown.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
"serve": "bash scripts/serve.sh",
"dev": "bash scripts/build-development.sh",
"upload": "bash scripts/deploy.sh",
"deploy": "yarn run prod && yarn run upload"
"deploy": "yarn run prod && yarn run upload",
"build-desktop": "bash scripts/build.sh"
}
}
2 changes: 2 additions & 0 deletions scripts/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
nativefier --name "apexo" --platform osx --conceal --icon icon-final.png --min-width 450px --min-height 600px --disable-dev-tools "https://web.apexo.app" ./dist/desktop-builds/
nativefier --name "apexo" --platform windows --icon icon-final.ico --min-width 450px --min-height 600px --disable-dev-tools "https://web.apexo.app" ./dist/desktop-builds/

0 comments on commit 0a27995

Please sign in to comment.