Release 0.9.1-3 with RetroBrowser, PPC audio, XP diagnostics and LP64 repair

This commit is contained in:
2026-11-29 13:41:59 +00:00
parent 15fde09e9e
commit 679dada6ec
117 changed files with 2473 additions and 63 deletions

View File

@@ -29,11 +29,17 @@ post(){ curl -fsS -b "$d/cookie" -c "$d/cookie" -H "Origin: $base" -H 'Content-T
status(){ curl -sS -o "$d/response" -w '%{http_code}' "$@"; }
start
[[ $(status "$base/api/state") == 401 ]]
for endpoint in client-macclassic client-macclassic-source mac-opentransport; do
[[ $(status "$base/api/browser/$endpoint") == 401 ]]
done
[[ $(status "$base/drivers/WIN95.zip") == 401 ]]
[[ $(status -H 'Host: evil.example' "$base/login") == 403 ]]
[[ $(status -H 'Content-Type: application/json' -d '{"user":"admin","password":"admin"}' "$base/api/login") == 403 ]]
post api/login '{"user":"admin","password":"admin"}' | jq -e .ok >/dev/null
s=$(get api/state); jq -e '.defaultPassword and (.text=="")' <<<"$s" >/dev/null
for endpoint in client-macclassic client-macclassic-source mac-opentransport; do
[[ $(status -b "$d/cookie" "$base/api/browser/$endpoint") == 403 ]]
done
csrf=$(jq -r .csrf <<<"$s"); cp "$d/cookie" "$d/old-cookie"
[[ $(status -b "$d/cookie" -H "Origin: $base" -H 'Content-Type: application/json' -d '{}' "$base/api/logout") == 403 ]]
post api/password '{"current":"admin","new":"NativeTestPassword123","repeat":"NativeTestPassword123"}' | jq -e .ok >/dev/null