storebound/apps/desktop/src-tauri/tauri.conf.json
CRT 7fab0a5b03 Desktop app shell (apps/desktop): Tauri 2 + React 19 around the storebound sidecar
- Rust host: spawns storebound serve --stdio with fixed args, hands over a per-session secret,
  mints confirm tokens only after a native dialog showing the summary and the dry run
- every app command re-checks window label and page origin; one capability (main window, app
  commands + event listen only, no plugin API in the webview); strict CSP; tests/security.rs pins it
- store keys picked in native dialogs, kept in the OS keychain, passed per call in memory only
- plugins: shell (Rust only), single-instance, deep-link storebound://, window-state, opener,
  dialog, notification, updater (placeholder endpoint and key until signing), process
- app-centric UI: Portfolio, App (Releases, Catalog, Listings, Health, Reviews, TestFlight),
  App folders, Accounts, Dependencies, Settings; light / dark with the storebound.dev tokens,
  reduced motion, home folder shown as ~
- macOS menu: Cmd+Q quits, Edit menu, Window menu keeps the main window; Linux DMABUF fix
- Bun workspace (npm files unchanged), ci runs desktop typecheck, build, cargo test and clippy;
  scrub covers home paths; docs/desktop.md (protocol, safety, dependency sources and licenses)
2026-10-10 17:57:33 +00:00

85 lines
2.2 KiB
JSON

{
"$schema": "https://schema.tauri.app/config/2",
"productName": "storebound",
"mainBinaryName": "storebound-desktop",
"version": "../package.json",
"identifier": "dev.storebound.desktop",
"build": {
"frontendDist": "../dist",
"devUrl": "http://127.0.0.1:1420",
"beforeDevCommand": "bun run dev",
"beforeBuildCommand": "bun run build"
},
"app": {
"windows": [
{
"label": "main",
"title": "storebound",
"width": 1200,
"height": 780,
"minWidth": 880,
"minHeight": 560,
"resizable": true,
"center": true
}
],
"security": {
"csp": {
"default-src": "'self'",
"script-src": "'self'",
"style-src": "'self'",
"img-src": "'self' data:",
"font-src": "'self'",
"connect-src": "ipc: http://ipc.localhost",
"object-src": "'none'",
"base-uri": "'none'",
"frame-src": "'none'",
"form-action": "'none'"
},
"devCsp": {
"default-src": "'self'",
"script-src": "'self'",
"style-src": "'self' 'unsafe-inline'",
"img-src": "'self' data:",
"font-src": "'self'",
"connect-src": "ipc: http://ipc.localhost ws://127.0.0.1:1420 http://127.0.0.1:1420",
"object-src": "'none'",
"base-uri": "'none'",
"frame-src": "'none'",
"form-action": "'none'"
},
"freezePrototype": true,
"capabilities": ["main-window"]
}
},
"bundle": {
"active": true,
"targets": "all",
"category": "DeveloperTool",
"shortDescription": "Every game's releases on both stores in one window",
"copyright": "MIT license, storebound contributors",
"externalBin": ["binaries/storebound"],
"createUpdaterArtifacts": false,
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
],
"macOS": {
"minimumSystemVersion": "11.0"
}
},
"plugins": {
"deep-link": {
"desktop": {
"schemes": ["storebound"]
}
},
"updater": {
"endpoints": ["https://storebound.dev/desktop/latest.json"],
"pubkey": "PLACEHOLDER-minisign-public-key-set-in-D5"
}
}
}