From 5c6dffda90b420dd585d8eb1be25964e870240c3 Mon Sep 17 00:00:00 2001 From: Clawd Date: Fri, 30 Jan 2026 20:13:00 -0500 Subject: [PATCH] fix: use explicit ?os= parameter in download URLs (#98) When users copy the curl/wget command, the user-agent is just 'curl/XXX' or 'wget/XXX' which doesn't identify the OS. This causes the server to fall back to serving its own binary instead of the correct one. Fix by including explicit ?os= parameter in all download URLs: - Linux: https://get.shellshare.net/?os=linux - macOS: https://get.shellshare.net/?os=mac (Intel, works on ARM via Rosetta) - Windows: https://get.shellshare.net/?os=windows Closes #98 --- templates/index.html | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/templates/index.html b/templates/index.html index f3be2b4..9610cc3 100644 --- a/templates/index.html +++ b/templates/index.html @@ -28,10 +28,9 @@

Live terminal broadcast

- curl -sLo - wget -qO - shellshare https://get.shellshare.net && chmod +x shellshare && ./shellshare - iwr https://get.shellshare.net -OutFile shellshare.exe; .\shellshare.exe + curl -sLo shellshare https://get.shellshare.net/?os=mac && chmod +x shellshare && ./shellshare + wget -qO shellshare https://get.shellshare.net/?os=linux && chmod +x shellshare && ./shellshare + iwr https://get.shellshare.net/?os=windows -OutFile shellshare.exe; .\shellshare.exe