Embed Wails runtime.js, serve it from custom asset handler
Some checks failed
ci / build-test (push) Has been cancelled
ci / docker-build (push) Has been cancelled
Desktop App / Build Linux (amd64) (push) Has been cancelled
Desktop App / Attach to Release (push) Has been cancelled

The SPA needs /wails/runtime.js for window.wails to be available.
Since we use a custom AssetOptions.Handler, Wails' internal routing
doesn't serve it. Embed the runtime and serve it explicitly.
This commit is contained in:
2026-07-13 23:40:50 +02:00
parent c31978042f
commit 0271727709
3 changed files with 12 additions and 0 deletions

1
cmd/desktop/runtime.js Normal file

File diff suppressed because one or more lines are too long