summaryrefslogtreecommitdiff
path: root/tests/test-decky-mirror-ujust.sh
diff options
context:
space:
mode:
authortranch <tranch.xiao@gmail.com>2026-09-11 09:22:21 +0800
committertranch <tranch.xiao@gmail.com>2026-09-11 09:22:21 +0800
commitc18aff5d552f359386736aea68a0ac9541cc5820 (patch)
tree3c8eedfff4ecfc613f7857440221b0a01f2edc13 /tests/test-decky-mirror-ujust.sh
parent90e5e0e70df9abe0f47e0bbe064d9e9954a3699a (diff)
downloadAeroCore-OS-c18aff5d552f359386736aea68a0ac9541cc5820.tar.gz
AeroCore-OS-c18aff5d552f359386736aea68a0ac9541cc5820.zip
Make Decky uninstall idempotenttesting-44.20260911
Tolerate missing loader and CEF debug paths during uninstall. Verify all patched removal paths in the recipe test.
Diffstat (limited to 'tests/test-decky-mirror-ujust.sh')
-rwxr-xr-xtests/test-decky-mirror-ujust.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/test-decky-mirror-ujust.sh b/tests/test-decky-mirror-ujust.sh
index 125983b..6950c31 100755
--- a/tests/test-decky-mirror-ujust.sh
+++ b/tests/test-decky-mirror-ujust.sh
@@ -36,6 +36,13 @@ if ! rg -q 'loader\.json' "${recipe}" || ! rg -q '\.store = 2' "${recipe}" || !
exit 1
fi
+if ! rg -q 'rm -rf.*HOMEBREW_FOLDER.*/services/PluginLoader' "${recipe}" ||
+ ! rg -q 'rm -f.*USER_DIR.*/\.steam/steam/\.cef-enable-remote-debugging' "${recipe}" ||
+ ! rg -q 'rm -f.*USER_DIR.*/\.var/app/com\.valvesoftware\.Steam/data/Steam/\.cef-enable-remote-debugging' "${recipe}"; then
+ echo "Decky mirror recipe must make uninstall safe for missing paths" >&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