From c3c8d8e501e47a1552a882c91fdbbc602b3a9d5c Mon Sep 17 00:00:00 2001 From: X9 Dev Date: Thu, 16 Apr 2026 11:30:22 +0200 Subject: [PATCH] Simplify install command to plain curl, add /dl shortlink - nginx.conf: add /dl -> latest xetup.exe release redirect (update on each release) - index.html: replace irm/iex command with 'curl -Lo xetup.exe xetup.x9.cz/dl' works with built-in curl.exe on Win10/11, no PowerShell execution policy needed Co-Authored-By: Claude Sonnet 4.6 --- web/index.html | 2 +- web/nginx.conf | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/web/index.html b/web/index.html index b2caf95..06eef9e 100644 --- a/web/index.html +++ b/web/index.html @@ -178,7 +178,7 @@
- irm xetup.x9.cz/get.ps1 | iex + curl -Lo xetup.exe xetup.x9.cz/dl
diff --git a/web/nginx.conf b/web/nginx.conf index 5553b78..0d173bc 100644 --- a/web/nginx.conf +++ b/web/nginx.conf @@ -14,6 +14,11 @@ server { add_header X-Content-Type-Options nosniff always; } + # Permanent shortlink to latest xetup.exe – update on each release + location = /dl { + return 302 https://git.xetup.x9.cz/x9/xetup/releases/download/v0.1.0/xetup.exe; + } + # Proxy Forgejo API calls so browser doesn't need CORS or direct access to Forgejo location /forgejo-api/ { proxy_pass http://xetup-forgejo:3000/api/v1/;