From b7cf961255e1f1efbae76c9a6a1a63e5a0f3bae7 Mon Sep 17 00:00:00 2001 From: tranch Date: Fri, 11 Sep 2026 02:09:29 +0800 Subject: Configure Decky plugin store mirror Persist the AeroCore plugin store URL after installation. Avoid service startup races when updating loader.json. --- tests/test-decky-mirror-ujust.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'tests/test-decky-mirror-ujust.sh') 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 -- cgit v1.2.3