- one version: package.json's version is the desktop app's too (desktopVersion removed); tools/desktop-version.ts keeps the plugin manifests and the app's copies equal, desktop-release publish refuses another version, release order app first then npm publish; the unpublished desktop 0.1.0 candidate is noted in the docs and CHANGELOG - storebound desktop installs (per user, no admin: macOS DMG -> /Applications or ~/Applications, Windows NSIS /S, Linux AppImage + .desktop with the storebound:// handler), updates an older app, notes a newer one (downgrade only with --force), asks once ([Y/n], --yes, exit 3 without a terminal), opens on the folder; --dry / --json / --download; the install steps are pure plans (cli/lib/desktop-install.ts); the version's own manifest dl/<version>/latest.json - credentials: one store, the CLI's credential profiles in ~/.storebound/credentials; the desktop writes and reads them (profiles.rs, files 0600), moves old keychain accounts into profiles on first start, shows profiles the CLI made; precedence env > named profile > project file > default profile; config `account`, "account" in the project's credentials.json; storebound accounts list | import (dedup by key id / service account e-mail, key files copied 0600, project file keeps keystore and review contact, backup, --dry, never prints values) | use - app folders: one list ~/.storebound/projects.json shared by the desktop (registry.rs), storebound desktop, apps folders | add | remove, ws init and ws without a workspace file - desktop: notice when a folder pins another storebound version; storebound-desktop --version - tests: version drift, desktop decisions and per-OS plans, credential precedence and import, registry (TS + Rust), keychain migration and profile round trip (Rust), boot check with old keychain state and the new shared state
93 lines
2.8 KiB
JSON
93 lines
2.8 KiB
JSON
{
|
|
"$schema": "https://schema.tauri.app/config/2",
|
|
"productName": "storebound",
|
|
"mainBinaryName": "storebound-desktop",
|
|
"version": "0.7.1",
|
|
"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",
|
|
"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"],
|
|
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDQ0Rjc4QTc4RDlFRjM4MkEKUldRcU9PL1plSXIzUkJtb2x0L2Z4MTA4bTg5UU5FVW5kUlRGcnVjangwQ0JNb2VGYjcveGhydlcK"
|
|
}
|
|
}
|
|
}
|