fixed btd5 and updated flash

This commit is contained in:
avscs
2025-05-04 18:58:28 -04:00
committed by avsc-sid
parent 609e9cc96f
commit 589cc36925
9 changed files with 22 additions and 4 deletions
Binary file not shown.
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because one or more lines are too long
+17
View File
@@ -0,0 +1,17 @@
#!/bin/bash
# script to update ruffle with the latest version
# this exists because other links of ruffle could get blocked
# and to make updating ruffle easier
export FORMER_DIR=$(pwd)
cd $(dirname $(realpath "$0"))
if ! command -v jq 2>&1 >/dev/null; then
echo "jq not found"
exit 1
fi
rm ruffle.zip
rm -- *.js *.wasm
export URL=$(curl -s https://api.github.com/repos/ruffle-rs/ruffle/releases | jq -r '.[0].assets[] | select(.name | test("selfhosted")) | .browser_download_url')
wget "$URL" -O ruffle.zip
unzip ruffle.zip "*.js" "*.wasm"
rm ruffle.zip