index : btroops | |
Virtual board game-aid for BattleTroops, an infantry combat simulator wargame published by FASA in 1989. |
aboutsummaryrefslogtreecommitdiff |
diff options
author | Catalin Mititiuc <webdevcat@proton.me> | 2024-05-04 10:25:22 -0700 |
---|---|---|
committer | Catalin Mititiuc <webdevcat@proton.me> | 2024-05-04 10:25:22 -0700 |
commit | f021368a6697c6b064aa8da208cdf60265f4bfe0 (patch) | |
tree | 57a4f8aa011d893004accc1a5043c5e154780d8f /node | |
parent | 3049acbe1599e6665fd6ee48496048493349bf97 (diff) |
WIP: add fullscreen and download save abilities
Diffstat (limited to 'node')
-rwxr-xr-x | node | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -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 $@ |