#!/bin/bash if [ "$1" = "dist" ] then if [ -z "$2" ] then npm run package-all else npm run package-app-$2 fi else electron . ./lib/index.html fi