iwmlib/bin/browser.sh

13 lines
181 B
Bash
Executable File

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