- frontend/: simtrace-analyser PWA (index.html, sw.js, manifest.json, icons, tests/index.test.html) copied in fresh - server.py: static file serving (_STATIC_MIME, _serve_static) with path-traversal guard; injects window.SIMTRACE_EMBEDDED='1' into index.html so the PWA defaults to a relative API base - server __main__: --web-dir (default <repo>/frontend) - frontend: embedded same-origin mode; sw.js relative precache paths + cache v4; GitHub link + version-warn point at simtrace2-pysniff - version 1.1.0 everywhere (__version__, pyproject, PWA_VERSION, manifest); MIN_SERVER_VERSION stays 1.0.0 - README/scripts/.gitignore updated Tests: 107.
15 lines
430 B
JSON
15 lines
430 B
JSON
{
|
|
"name": "SIMtrace Analyser",
|
|
"short_name": "SIMtrace",
|
|
"description": "PWA frontend for browsing SIMtrace2 APDU traces",
|
|
"version": "1.1.0",
|
|
"start_url": "index.html",
|
|
"display": "standalone",
|
|
"background_color": "#0f172a",
|
|
"theme_color": "#0f172a",
|
|
"icons": [
|
|
{ "src": "icon-192.png", "sizes": "192x192", "type": "image/png" },
|
|
{ "src": "icon-512.png", "sizes": "512x512", "type": "image/png" }
|
|
]
|
|
}
|