From 95c57c4850a8eccefc466b6ad62a8a89da6cfcca Mon Sep 17 00:00:00 2001 From: restitux Date: Sat, 9 Nov 2024 13:27:03 -0700 Subject: [PATCH] Add bundle script --- .gitignore | 1 + bundle.sh | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100755 bundle.sh 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