summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortranch <tranch.xiao@gmail.com>2026-06-26 12:07:35 +0800
committertranch <tranch.xiao@gmail.com>2026-06-26 12:09:34 +0800
commit31979144dc2772063518e0ec33084a9615707da0 (patch)
tree3c66484bb316d39009b6b0147dc1443f3f55c528
parentcf6ef9f2269f7e198d3d68d92162ca21ab0f7a32 (diff)
downloadaccelerator-installer-31979144dc2772063518e0ec33084a9615707da0.tar.gz
accelerator-installer-31979144dc2772063518e0ec33084a9615707da0.zip
Fix 404 fetching upstream installer via mirror plain pathHEADv1.1.1main
cgit's plain handler cannot parse inline branch refs in the URL path (e.g. plain/main/gui/...). Removing the ref segment lets cgit default to HEAD, which resolves the upstream decky-installer script correctly.
-rw-r--r--user_install_script.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/user_install_script.sh b/user_install_script.sh
index 04ed0b1..d9a5d9d 100644
--- a/user_install_script.sh
+++ b/user_install_script.sh
@@ -11,7 +11,7 @@ DECKY_PLUGIN_TARGET_ID="__DECKY_PLUGIN_ID__"
# Use the upstream main-branch script so release/prerelease selection stays current.
tmp_script="/tmp/decky_user_install_script.sh"
-if ! curl -fsSL "https://${DECKY_MIRROR_HOST}/SteamDeckHomebrew/decky-installer/plain/main/gui/user_install_script.sh" \
+if ! curl -fsSL "https://${DECKY_MIRROR_HOST}/SteamDeckHomebrew/decky-installer/plain/gui/user_install_script.sh" \
| sed -E \
-e "s#github\.com#${DECKY_MIRROR_HOST}#g" \
-e "s#api\.github\.com#api.${DECKY_MIRROR_HOST}#g" \