mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
add script to produce final builds
This commit is contained in:
parent
f8acec3cf6
commit
1c5b8acd88
1 changed files with 14 additions and 0 deletions
14
package.sh
Executable file
14
package.sh
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
#!/usr/bin/env bash
|
||||
VERSION=`cat package.json | jq '.version' -r`
|
||||
rm -rf node_modules
|
||||
rm -rf ./app/node_modules
|
||||
rm -rf dist
|
||||
mkdir dist
|
||||
./install.sh
|
||||
cd app
|
||||
npm install
|
||||
npm run build
|
||||
cd -
|
||||
cp app/index.html dist/
|
||||
cp app/dist/* dist/
|
||||
electron-packager ./ --platform=darwin --out=dist --arch=x64 --app-bundle-id="co.zeit.hyperterm" --app-version="0.1.0" --osx-sign --icon=icon.icns --ignore=app
|
||||
Loading…
Reference in a new issue