diff --git a/apps/api/src/server.ts b/apps/api/src/server.ts index 691dee2..d45cd11 100644 --- a/apps/api/src/server.ts +++ b/apps/api/src/server.ts @@ -75,6 +75,10 @@ app.get('/downloads/fieldlens-print-linux-x64.deb', (_req, res) => { redirectDesktopDownload(res, 'fieldlens-print-linux-x64.deb') }) +app.get('/downloads/install.sh', (_req, res) => { + redirectDesktopDownload(res, 'install.sh') +}) + // Backward-compatible aliases used by the first downloads page. app.get('/downloads/fieldlens-print/windows-x64', (_req, res) => { redirectDesktopDownload(res, 'fieldlens-print-windows-x64-setup.exe') diff --git a/apps/web/src/DesktopDownloads.tsx b/apps/web/src/DesktopDownloads.tsx index d1b1bd2..cd0b383 100644 --- a/apps/web/src/DesktopDownloads.tsx +++ b/apps/web/src/DesktopDownloads.tsx @@ -13,6 +13,12 @@ const downloads = [ detail: 'x64 · Debian / Ubuntu .deb package', icon: Terminal, }, + { + href: '/downloads/install.sh', + label: 'Linux install script', + detail: 'x64 · verifies SHA-256 · installs the .deb', + icon: Terminal, + }, ] export function DesktopDownloadsLink({ onOpen }: { onOpen: () => void }) { @@ -70,8 +76,14 @@ export function DesktopDownloadsPage({ onBack }: { onBack: () => void }) { ))} +
curl -fsSL https://fieldlens.arrowstack.dev/downloads/install.sh | sh
+ Windows: installs for the current user, so the app itself does not require administrator elevation.
+Linux script: supports x86_64/amd64 Debian/Ubuntu-style systems and verifies the package checksum before installation.
Printer setup: changing a managed Windows printer queue or port can still require IT/admin permission.