insomnia/scripts/package.sh

28 lines
676 B
Bash
Raw Normal View History

2016-04-19 06:05:55 +00:00
#!/bin/bash
#? Package the app
APP_NAME="Insomnia REST Client"
APP_ID="insomnia"
2016-04-21 05:47:03 +00:00
echo "-- PACKAGING APP --"
2016-04-20 06:09:46 +00:00
node -r babel-register node_modules/electron-packager/cli.js \
dist \
"$APP_NAME" \
2016-04-28 07:41:31 +00:00
--platform=darwin \
--arch=x64 \
2016-04-23 03:54:55 +00:00
--asar \
2016-04-21 19:58:20 +00:00
--build-version=1 \
2016-04-23 03:54:55 +00:00
--app-version=3.0.0 \
2016-04-21 19:58:20 +00:00
--version-string.CompanyName=schier.co \
--version-string.ProductName="$APP_NAME" \
2016-04-21 19:58:20 +00:00
--version-string.FileDescription="FileDescription" \
--version-string.OriginalFilename="$APP_ID" \
--version-string.InternalName="$APP_ID" \
2016-04-21 06:00:18 +00:00
--download.strictSSL=true \
2016-04-21 19:58:20 +00:00
--icon=assets/icon \
--out=build \
2016-04-23 03:54:55 +00:00
--overwrite
2016-04-20 06:09:46 +00:00
2016-04-23 03:54:55 +00:00
echo "-- PACKAGING COMPLETE --"