This commit is contained in:
~d6 2022-01-22 22:55:01 -05:00
parent a5eb54f876
commit a1adf78fc1
1 changed files with 5 additions and 6 deletions

11
uxnrun
View File

@ -8,9 +8,8 @@ if [ $# -lt 1 ]; then
exit 1
fi
if [ "$1" = "-c" ]; then
shift
$BIN/uxnasm $1 $DEST && $BIN/uxncli $DEST
else
$BIN/uxnasm $1 $DEST && $BIN/uxnemu $DEST
fi
case "$1" in
-c) $BIN/uxnasm $2 $DEST && $BIN/uxncli $DEST;;
-s) $BIN/uxnasm $3 $DEST && $BIN/uxnemu -s $2 $DEST;;
*) $BIN/uxnasm $1 $DEST && $BIN/uxnemu $DEST;;
esac