mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
interesting workaround to have nice zip structure with bestzip
This commit is contained in:
parent
c3aeb7145e
commit
cd1610e09d
1 changed files with 4 additions and 1 deletions
|
|
@ -19,4 +19,7 @@ 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=icon.icns --prune --ignore=app
|
||||
rm -rf ./build/
|
||||
npm install bestzip@1.1.2
|
||||
bestzip dist/hyperterm-macos-x64-$VERSION.zip dist/HyperTerm-darwin-x64
|
||||
cd dist/HyperTerm-darwin-x64/
|
||||
# avoid weird paths inside the zip
|
||||
../../node_modules/.bin/bestzip ../hyperterm-macos-x64-$VERSION.zip .
|
||||
cd -
|
||||
|
|
|
|||
Loading…
Reference in a new issue