iwmlib/bin/browser.sh

13 lines
181 B
Bash
Raw Permalink Normal View History

#!/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