Add bundle script

This commit is contained in:
2024-11-09 13:27:03 -07:00
parent b19f629605
commit 95c57c4850
2 changed files with 16 additions and 0 deletions
+1
View File
@@ -1,3 +1,4 @@
/target
cert.pem
key.pem
bundle
Executable
+15
View File
@@ -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