diff --git a/.gitignore b/.gitignore index 839d924..5cce3c2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /target cert.pem key.pem +bundle diff --git a/bundle.sh b/bundle.sh new file mode 100755 index 0000000..7a9cad7 --- /dev/null +++ b/bundle.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +cargo build --release + +rm -rf mumble-web2 +git clone https://git.ohea.xyz/mumble/mumble-web2 +cd mumble-web2 +echo "[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]" >server_hash.txt +dx build --release +cd .. + +rm -rf bundle +mkdir bundle +cp target/release/mumble-webtransport-proxy bundle +cp -r mumble-web2/dist bundle/gui