diff options
| author | tranch <tranch.xiao@gmail.com> | 2026-09-11 02:09:29 +0800 |
|---|---|---|
| committer | tranch <tranch.xiao@gmail.com> | 2026-09-11 02:09:29 +0800 |
| commit | b7cf961255e1f1efbae76c9a6a1a63e5a0f3bae7 (patch) | |
| tree | 4e6af227b9f87536cbc06b9f1cb73c9ac7186cec /tests | |
| parent | 6f6f3c5f02f2c8d909c263166793dd4fb05e547c (diff) | |
| download | AeroCore-OS-b7cf961255e1f1efbae76c9a6a1a63e5a0f3bae7.tar.gz AeroCore-OS-b7cf961255e1f1efbae76c9a6a1a63e5a0f3bae7.zip | |
Configure Decky plugin store mirror
Persist the AeroCore plugin store URL after installation. Avoid service
startup races when updating loader.json.
Diffstat (limited to 'tests')
| -rwxr-xr-x | tests/test-decky-mirror-ujust.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/test-decky-mirror-ujust.sh b/tests/test-decky-mirror-ujust.sh index bb15f26..125983b 100755 --- a/tests/test-decky-mirror-ujust.sh +++ b/tests/test-decky-mirror-ujust.sh @@ -24,6 +24,18 @@ if rg -q 'https://github\.com/SteamDeckHomebrew/decky-installer' "${recipe}"; th exit 1 fi +if ! rg -q 'configure_plugin_store\(\)' "${recipe}" || \ + ! rg -q 'plugins\.decky\.mirror\.aerocore\.com\.cn' "${recipe}" || \ + ! rg -q 'DECKY_PLUGIN_STORE_URL=.*\/plugins' "${recipe}"; then + echo "Decky mirror recipe must configure the AeroCore plugin store URL" >&2 + exit 1 +fi + +if ! rg -q 'loader\.json' "${recipe}" || ! rg -q '\.store = 2' "${recipe}" || ! rg -q 'store-url' "${recipe}"; then + echo "Decky mirror recipe must persist the custom plugin store in loader.json" >&2 + exit 1 +fi + for script_name in install_release.sh install_prerelease.sh uninstall.sh; do if ! rg -q "\\$\\{DECKY_INSTALLER_BASE\\}/${script_name}" "${recipe}"; then echo "Decky mirror recipe does not route ${script_name} through the mirror base" >&2 |
