grabster/src-tauri/tauri.conf.json
orca b6d53aae6e Bundle NZBGet, add news server settings, fix Linux rendering
- Ship the official static NZBGet 26.3 build (with unrar/7za) as a Tauri
  resource. scripts/fetch-nzbget.sh downloads it, checks its SHA-256 and
  unpacks it; tauri dev/build run it automatically. Binaries are git-ignored.
- src-tauri/src/engine.rs starts NZBGet in server mode on 127.0.0.1 with a
  random port and password (kept in a 0600 nzbget.conf, not argv), locks
  against a second instance, and stops it on exit or if Grabster dies.
- Settings: "Download Engine" chooses built-in vs. your own NZBGet; new
  "News Servers" page adds/edits/tests servers and picks the download folder
  via loadconfig/saveconfig/reload. Mock engine implements the same.
- Set WEBKIT_DISABLE_DMABUF_RENDERER=1 on Linux (WebKitGTK crashed on
  Wayland + NVIDIA with "Error 71 (Protocol error)").
- Drop -webkit-font-smoothing: none (jagged text without Tahoma); point docs
  at ms-core-tahoma-fonts.
- Commit Cargo.lock.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 09:26:53 -05:00

30 lines
775 B
JSON

{
"$schema": "https://schema.tauri.app/config/2",
"productName": "Grabster",
"version": "0.1.0",
"identifier": "com.orca.grabster",
"build": {
"beforeDevCommand": "npm run fetch:nzbget && npm run dev",
"devUrl": "http://localhost:1420",
"beforeBuildCommand": "npm run fetch:nzbget && npm run build",
"frontendDist": "../dist"
},
"app": {
"windows": [
{
"title": "Grabster v0.1",
"width": 1100,
"height": 720,
"minWidth": 760,
"minHeight": 480
}
],
"security": { "csp": null }
},
"bundle": {
"active": true,
"targets": ["rpm", "appimage"],
"resources": { "resources/nzbget/": "nzbget/" },
"icon": ["icons/32x32.png", "icons/128x128.png", "icons/icon.png"]
}
}