chore(wails): wire embedded assets and build config
Use BundledAssetFileServer so production builds serve the Wails runtime alongside the embedded frontend dist (including kbsim samples copied at build time). Verified via wails3 task build. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -18,7 +18,7 @@ func main() {
|
||||
Name: "sfxkeeb",
|
||||
Description: "Annotate keyboard key presses on a video timeline",
|
||||
Assets: application.AssetOptions{
|
||||
Handler: application.AssetFileServerFS(assets),
|
||||
Handler: application.BundledAssetFileServer(assets),
|
||||
Middleware: func(next http.Handler) http.Handler {
|
||||
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
||||
if r.URL.Path == localMediaVideoPath && fileService != nil {
|
||||
|
||||
Reference in New Issue
Block a user