Files
termscp/site/vercel.json
T
Christian Visintin f92cb93755 feat(install): add Windows PowerShell installer and copy buttons on site
Add install.ps1 mirroring install.sh for Windows: arch detection,
release zip download, binary extraction, user PATH update.

- copy install.ps1 to site public/ at build time (copy-install.mjs)
- serve /install.ps1 with text/plain Content-Type (vercel.json)
- add PowerShell one-liner to install page and README
- bump install.ps1 default version in bump_version.sh
- add CopyButton component next to every install command line
2026-06-08 10:16:00 +02:00

27 lines
1.1 KiB
JSON

{
"$schema": "https://openapi.vercel.sh/vercel.json",
"redirects": [
{ "source": "/index.html", "destination": "/", "permanent": true },
{ "source": "/get-started.html", "destination": "/install", "permanent": true },
{ "source": "/get-started", "destination": "/install", "permanent": true },
{ "source": "/updates.html", "destination": "/install", "permanent": true },
{ "source": "/user-manual.html", "destination": "https://docs.termscp.rs", "permanent": true },
{ "source": "/user-manual", "destination": "https://docs.termscp.rs", "permanent": true },
{ "source": "/changelog.html", "destination": "https://github.com/veeso/termscp/blob/main/CHANGELOG.md", "permanent": true }
],
"headers": [
{
"source": "/fonts/(.*)",
"headers": [{ "key": "Cache-Control", "value": "public, max-age=31536000, immutable" }]
},
{
"source": "/install.sh",
"headers": [{ "key": "Content-Type", "value": "text/x-shellscript; charset=utf-8" }]
},
{
"source": "/install.ps1",
"headers": [{ "key": "Content-Type", "value": "text/plain; charset=utf-8" }]
}
]
}