40 lines
936 B
Markdown
40 lines
936 B
Markdown
# FieldLens Desktop
|
|
|
|
Public build and release mirror for **FieldLens Print**.
|
|
|
|
The private `Admin/fieldlens` repository remains the source of truth. This repository contains only the desktop client needed to build public Windows and Linux installers.
|
|
|
|
## Releases
|
|
|
|
A push to `main` builds:
|
|
|
|
- `fieldlens-print-windows-x64-setup.exe`
|
|
- `fieldlens-print-linux-x64.deb`
|
|
|
|
The workflow publishes them to the Gitea release matching the version in `package.json`.
|
|
|
|
## Local build
|
|
|
|
```bash
|
|
npm install
|
|
npm run build
|
|
npm run bundle:deb
|
|
```
|
|
|
|
Windows cross-build:
|
|
|
|
```bash
|
|
cargo install --locked cargo-xwin
|
|
npm run bundle:windows
|
|
```
|
|
|
|
## Linux install script
|
|
|
|
Download and run the checked installer:
|
|
|
|
```bash
|
|
curl -fsSL https://fieldlens.arrowstack.dev/downloads/install.sh | sh
|
|
```
|
|
|
|
The script supports x86_64/amd64 Debian/Ubuntu-style systems, downloads the public `.deb`, verifies its SHA-256, then installs it with the system package manager.
|