- 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)
31 lines
972 B
JSON
31 lines
972 B
JSON
{
|
|
"name": "@storebound/desktop",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"description": "storebound desktop: every game's releases on both stores in one window (Tauri shell around the storebound CLI sidecar).",
|
|
"scripts": {
|
|
"dev": "vite --host 127.0.0.1 --port 1420 --strictPort",
|
|
"build": "tsc --noEmit && vite build",
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "bun test tests",
|
|
"sidecar": "bun ../../tools/build-sidecars.ts --host",
|
|
"tauri": "tauri",
|
|
"app:dev": "bun run sidecar && tauri dev",
|
|
"app:build:debug": "bun run sidecar && tauri build --debug --no-bundle"
|
|
},
|
|
"dependencies": {
|
|
"@tauri-apps/api": "^2.12.0",
|
|
"react": "^19.2.0",
|
|
"react-dom": "^19.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@tauri-apps/cli": "^2.12.1",
|
|
"@types/react": "^19.2.0",
|
|
"@types/react-dom": "^19.2.0",
|
|
"@vitejs/plugin-react": "^4.7.0",
|
|
"typescript": "5.9.3",
|
|
"vite": "^6.3.0"
|
|
}
|
|
}
|