insomnia/scripts/package.sh

22 lines
646 B
Bash
Raw Normal View History

2016-04-19 06:05:55 +00:00
#!/bin/bash
2016-07-18 20:10:18 +00:00
#? Package and generate installers
2016-04-19 06:05:55 +00:00
2016-07-18 20:10:18 +00:00
echo "-- STARTING PACKAGING PROCESS... --"
say "Beginning platform packaging"
2016-07-18 20:10:18 +00:00
cp assets/* build/
2016-07-18 20:10:18 +00:00
echo "-- PACKAGING WINDOWS --"
2016-07-23 05:25:53 +00:00
node node_modules/electron-builder/out/build-cli.js --publish='never' --x64 --win
say "Windows packaging complete"
2016-04-20 06:09:46 +00:00
2016-07-21 16:33:35 +00:00
echo "-- PACKAGING MAC --"
node node_modules/electron-builder/out/build-cli.js --publish='never' --x64 --mac
say "Mac packaging complete"
2016-07-21 16:33:35 +00:00
2016-07-27 17:25:03 +00:00
echo "-- PACKAGING LINUX --"
node node_modules/electron-builder/out/build-cli.js --publish='never' --x64 --linux
say "Linux packaging complete"
2016-07-14 01:12:42 +00:00
2016-07-18 20:10:18 +00:00
echo "-- PACKAGING COMPLETE --"
say "All platforms are now packaged"