2016-04-19 06:05:55 +00:00
|
|
|
#!/bin/bash
|
|
|
|
#? Package the app
|
|
|
|
|
2016-07-06 20:18:26 +00:00
|
|
|
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 \
|
2016-07-06 20:18:26 +00:00
|
|
|
"$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 \
|
2016-07-06 20:18:26 +00:00
|
|
|
--version-string.ProductName="$APP_NAME" \
|
2016-04-21 19:58:20 +00:00
|
|
|
--version-string.FileDescription="FileDescription" \
|
2016-07-06 20:18:26 +00:00
|
|
|
--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 \
|
2016-04-23 04:01:28 +00:00
|
|
|
--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 --"
|