Files
lanspread/crates/lanspread-tauri-deno-ts/src-tauri/tauri.local.conf.json
T
ddidderr 6b65a66465 feat(catalog): separate generated production and local test authority
The launcher previously defaulted to fixtures and production generation used
the source database directly. Generate a separate database and manifest set
from package directories, validating staged output with the application loader
before installation. Keep strict selection by default, with independent
opt-ins for missing games and package version overrides in the copied database.
Share database filtering and staging with the fixture publisher, and include
source metadata and generation modes in the publication cache.

Make normal runs consume existing production authority. Add an explicit local
test recipe with separate resources, app settings, and a compiled startup game
directory. Build-time gates exclude local authority from production and require
Tauri development mode. Document the generation and launch workflows.

Clear generated catalog copies before Tauri copies the selected resource tree
so mode switches and reduced catalogs cannot retain stale manifests. Watch the
copied files to repair deletion and preserve prior output mtimes only when the
bytes are unchanged, allowing subsequent builds to become fresh.

Test Plan:
- `just fmt` -- passed.
- `just clippy` -- passed with warnings denied.
- `just test` -- workspace tests passed using fixture authority.
- `just frontend-test` -- 94 passed.
- `python3 -m unittest discover -s tools -p 'test_catalog_source_cache.py'`
  -- 4 passed.
- `git diff --cached --check` -- passed.
- Interactive GUI launches and production bundles were not exercised.
2026-09-12 19:41:35 +02:00

23 lines
491 B
JSON

{
"$schema": "https://schema.tauri.app/config/2",
"productName": "softlan-launcher-local-test",
"identifier": "berlin.softlan.launcher.local-test",
"app": {
"windows": [
{
"title": "softlan-launcher — LOCAL TEST",
"width": 1526,
"height": 1120
}
]
},
"bundle": {
"active": false,
"resources": {
"local-catalog/game.db": "game.db",
"local-catalog/manifests/": "manifests/",
"assets/*": "assets/"
}
}
}