Skip to content

Commit da3e7f1

Browse files
author
avscs
committed
fixed btd5 and updated flash
1 parent 18296b3 commit da3e7f1

9 files changed

+22
-4
lines changed
12.1 MB
Binary file not shown.

games/flash/core.ruffle.974fac2a690e2c9ab3a2.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

games/flash/core.ruffle.d9a367f2b7315b310a38.js

Lines changed: 0 additions & 2 deletions
This file was deleted.

games/flash/core.ruffle.e071b18e6d39b336d201.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

games/flash/files/bloons-td-5.swf

-7.53 MB
Binary file not shown.
9.36 MB
Binary file not shown.

games/flash/ruffle.js

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

games/flash/update-ruffle.sh

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/bin/bash
2+
# script to update ruffle with the latest version
3+
# this exists because other links of ruffle could get blocked
4+
# and to make updating ruffle easier
5+
export FORMER_DIR=$(pwd)
6+
cd $(dirname $(realpath "$0"))
7+
if ! command -v jq 2>&1 >/dev/null; then
8+
echo "jq not found"
9+
exit 1
10+
fi
11+
rm ruffle.zip
12+
13+
rm -- *.js *.wasm
14+
export URL=$(curl -s https://api.github.com/repos/ruffle-rs/ruffle/releases | jq -r '.[0].assets[] | select(.name | test("selfhosted")) | .browser_download_url')
15+
wget "$URL" -O ruffle.zip
16+
unzip ruffle.zip "*.js" "*.wasm"
17+
rm ruffle.zip

0 commit comments

Comments
 (0)