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
18 lines
481 B
Bash
Executable File
18 lines
481 B
Bash
Executable File
#!/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
|