wasm-rdp/run.sh

14 lines
268 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
"$(dirname $0)/build/axum-websockify" 0.0.0.0:8080 $2 --web "$(dirname $0)/build"