mirror of
https://github.com/Dvorinka/Primora.git
synced 2026-10-28 15:51:23 +00:00
tauri.conf.json and apps/desktop/package.json lagged at 0.5.0, so v0.6.0 desktop bundles were labeled 0.5.0. Verify job now checks all three version sources match the tag. Authored By: TDvorak <[email protected]> Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@primora/desktop
Tauri 2 shell around a self-hosted Primora deployment. On first run it asks for the deployment URL; after that the webview renders the same SolidJS console the server serves. Nothing is embedded — no backend, no database. The self-hosted model is preserved.
Prerequisites
- Rust (rustup) and Node.js.
- Linux webview deps:
sudo apt install libwebkit2gtk-4.1-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev
Run
npm run dev --workspace @primora/desktop # dev window (debug build)
npm run bundle --workspace @primora/desktop # release bundles → src-tauri/target/release/bundle
Notes
- Config lives at
~/.config/dev.tdvorak.primora/config.json— one field,server_url. - System tray: Show Primora, Change Server… (clears the URL, back to the connect screen), Quit. Closing the window hides to the tray; a second launch focuses the existing window (single-instance).
- The connect screen only checks that the host answers; if the URL turns out not to be a Primora deployment, use the tray's Change Server.
- macOS blocks plain-HTTP loads to non-localhost hosts (ATS). Use HTTPS, or
http://localhostfor a local deployment. - Deep links / push notifications: deliberately omitted — nothing needs them yet.