mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
package: create dist only at last step
This commit is contained in:
parent
aa5441bea4
commit
f7a6b02d4f
1 changed files with 3 additions and 5 deletions
|
|
@ -5,7 +5,6 @@ rm -rf ./app/node_modules
|
|||
rm -rf ./dist/HyperTerm-darwin-x64
|
||||
rm -rf ./dist/
|
||||
rm -rf ./build/
|
||||
mkdir dist
|
||||
mkdir build
|
||||
./install.sh
|
||||
npm run lint
|
||||
|
|
@ -16,10 +15,9 @@ npm run build
|
|||
cd -
|
||||
cp app/index.html build/
|
||||
cp -r app/dist build/
|
||||
electron-packager ./ --platform=darwin --out=dist --arch=x64 --app-bundle-id="co.zeit.hyperterm" --app-version="$VERSION" --osx-sign --icon=static/icon.icns --prune --ignore=app
|
||||
mkdir dist
|
||||
electron-packager ./ --platform=darwin --out=dist --arch=x64 --app-bundle-id="co.zeit.hyperterm" --app-version="$VERSION" --osx-sign --icon=static/icon.icns --prune --ignore=app/
|
||||
rm -rf ./build/
|
||||
npm install bestzip@1.1.2
|
||||
cd dist/HyperTerm-darwin-x64/
|
||||
# avoid weird paths inside the zip
|
||||
../../node_modules/.bin/bestzip ../hyperterm-macos-x64-$VERSION.zip .
|
||||
zip -r -y ../hyperterm-macos-x64-$VERSION.zip .
|
||||
cd -
|
||||
|
|
|
|||
Loading…
Reference in a new issue