wasm-rdp/run.sh

14 lines
224 B
Bash

set -e
if [ "r" = "$1" ]; then
cargo make install-release
elif [ "d" = "$1" ]; then
cargo make install-debug
fi
if [ -n "$CUSTOMIZATION" ]; then
sh -c "$CUSTOMIZATION"
fi
node "$(dirname $0)/websockify" $2 $3