2.0.1 work - fidelity + build improvements (#327)

Fidelity improvements (via wabac.js and wombat):
- fixes ebay carousel #326 (via wombat)
- partial fix to error page escaping #323 (via wabac)
- fixes to reddit pages #317 
- fixes to twitter/x replay (via wabac / wombat)

Build improvements:
- run mkdocs gh-deploy --force in gh action, instead of publish-docs to avoid accidental updates
- auto install ruffle from download script, remove from git, add 'update-ruffle' script
- update to latest ruffle which doesn't inject setImmeidate/ clearImmediate to avoid interference with certain sites, fixing fidelity on some sites (including twitter/x)
- remove unused src/sw.ts
- deps: wabac.js to 2.18.2

bump to 2.0.1
This commit is contained in:
Ilya Kreymer
2024-06-09 17:38:38 -07:00
committed by GitHub
parent a56e312f8f
commit 7229609ed0
11 changed files with 49 additions and 64 deletions
+17
View File
@@ -0,0 +1,17 @@
#!/bin/bash
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
RUFFLE_DIR=$SCRIPT_DIR
SELFHOST_URL=$(curl "https://api.github.com/repos/ruffle-rs/ruffle/releases" | jq -r '.[0].assets[] | select(.name | contains("selfhosted")) | .browser_download_url')
echo "$SELFHOST_URL"
curl -L -o $RUFFLE_DIR/ruffle.zip "$SELFHOST_URL"
rm $RUFFLE_DIR/*.js $RUFFLE_DIR/*.wasm
cd $RUFFLE_DIR
unzip $RUFFLE_DIR/ruffle.zip *.js *.wasm
rm $RUFFLE_DIR/ruffle.zip