storebound/apps/desktop/src-tauri/tauri.conf.json
CRT 5236f002f1 desktop: tray menu panels and pinnable context menus
The tray's right-click menu is drawn by the app: one tree from tray.rs
(stable submenu keys), one frameless always-on-top menu-N window per
panel rendered by tray-menu.html with the design system, placed inside
the monitor's work area. A pure panel book keeps transient and pinned
panels apart; pinned panels (pin button, Ctrl+click, middle click) are
draggable, step aside from each other and are saved in state.json
(menuPins) and restored at start. tray_update pushes the tree to the
open panels, which update in place; closed panels are destroyed. The
native menu, rendered from the same tree, stays as the fallback and on
Linux. Only menu-* windows get the menu_* commands (menu.json).

In-app context menus get the same behaviour through a pure menu stack
(ui/menu-stack.ts): pin a menu, tear off a submenu, pinned panels
survive the next menu, are draggable and re-read their entries from
live sources so data changes update them in place.

Also drops a stray diff3 marker line from CHANGELOG.md.
2026-10-24 13:44:08 +08:00

95 lines
2.9 KiB
JSON

{
"$schema": "https://schema.tauri.app/config/2",
"productName": "storebound",
"mainBinaryName": "storebound-desktop",
"version": "0.8.47",
"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,
"visible": false
}
],
"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", "card-window", "menu-window"]
}
},
"bundle": {
"active": true,
"targets": "all",
"category": "DeveloperTool",
"shortDescription": "Every game's releases on both stores in one window",
"longDescription": "storebound desktop: store listings, builds, in-app purchases, reviews and releases of mobile apps and games on Google Play and the App Store, in one window. Every write shows a dry run first, and public steps wait for your confirmation.",
"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"
},
"windows": {
"webviewInstallMode": { "type": "embedBootstrapper" },
"nsis": { "installMode": "currentUser" }
},
"linux": {
"deb": { "section": "devel" }
}
},
"plugins": {
"deep-link": {
"desktop": {
"schemes": ["storebound"]
}
},
"updater": {
"endpoints": ["https://storebound.dev/desktop/latest.json"],
"windows": { "installMode": "quiet" },
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDQ0Rjc4QTc4RDlFRjM4MkEKUldRcU9PL1plSXIzUkJtb2x0L2Z4MTA4bTg5UU5FVW5kUlRGcnVjangwQ0JNb2VGYjcveGhydlcK"
}
}
}