summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcopilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>2026-02-11 09:54:49 +0000
committercopilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>2026-02-11 09:54:49 +0000
commit77ccbb27ba39db2b8de0fead54a27ce7ebda14ae (patch)
tree5385d34dc31ceaa23d214dc8b814db7caa98fefc
parentdebc2bd5003e5cee148a088070ec9c65002bd03b (diff)
downloadaccelerator-installer-77ccbb27ba39db2b8de0fead54a27ce7ebda14ae.tar.gz
accelerator-installer-77ccbb27ba39db2b8de0fead54a27ce7ebda14ae.zip
Move configure-store operation before install to fix 404 errors
Co-authored-by: tranch <5999732+tranch@users.noreply.github.com>
-rw-r--r--user_install_script.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/user_install_script.sh b/user_install_script.sh
index 42bdd38..fac2146 100644
--- a/user_install_script.sh
+++ b/user_install_script.sh
@@ -69,13 +69,13 @@ if ! (cd /tmp && sha256sum -c decky_client.py.sha256); then
exit 1
fi
+# Configure the custom store URL first to ensure install requests go to the correct store
+python3 "${decky_client}" configure-store "https://${DECKY_PLUGIN_MIRROR_HOST}/plugins"
+
# Install the plugin
python3 "${decky_client}" install \
--store-url "https://${DECKY_PLUGIN_MIRROR_HOST}/plugins" \
--target-id "${DECKY_PLUGIN_TARGET_ID}"
-# Configure the custom store URL for future use
-python3 "${decky_client}" configure-store "https://${DECKY_PLUGIN_MIRROR_HOST}/plugins"
-
# Clean up
rm -f "${decky_client}" "${decky_client_checksum}"