mirror of
https://github.com/veeso/termscp.git
synced 2026-09-15 08:35:52 -07:00
f92cb93755
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
27 lines
1.1 KiB
JSON
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" }]
|
|
}
|
|
]
|
|
}
|