WIP: add fullscreen and download save abilities

This commit is contained in:
2024-05-04 10:25:22 -07:00
parent 3049acbe15
commit f021368a66
6 changed files with 70 additions and 9 deletions

11
node
View File

@@ -1,4 +1,13 @@
#!/usr/bin/env bash
docker run --rm --init -it -v $PWD:/usr/src/app btroops node $@
user_id=$(id -u)
image=btroops
if [[ $1 == run && $2 == test* ]]
then
port=3005
else
port=8080
fi
docker run --rm --init -it -v $PWD:/usr/src/app -u $user_id:$user_id -p $port:$port $image node $@