insomnia/scripts/package.sh
2016-07-29 13:37:23 -07:00

22 lines
646 B
Bash

#!/bin/bash
#? Package and generate installers
echo "-- STARTING PACKAGING PROCESS... --"
say "Beginning platform packaging"
cp assets/* build/
echo "-- PACKAGING MAC --"
node node_modules/electron-builder/out/build-cli.js --publish='never' --x64 --mac
say "Mac packaging complete"
echo "-- PACKAGING WINDOWS --"
node node_modules/electron-builder/out/build-cli.js --publish='never' --x64 --win
say "Windows packaging complete"
echo "-- PACKAGING LINUX --"
node node_modules/electron-builder/out/build-cli.js --publish='never' --x64 --linux
say "Linux packaging complete"
echo "-- PACKAGING COMPLETE --"
say "All platforms are now packaged"