This commit is contained in:
2026-07-30 07:19:20 +02:00
parent aacbcdd5c9
commit 4a2a0d130b
2 changed files with 21 additions and 2 deletions
+13 -1
View File
@@ -1,7 +1,19 @@
package main
import "git.teletypegames.org/games/pncdsl-demo/lib"
import (
"embed"
p "git.teletypegames.org/games/pncdsl"
"git.teletypegames.org/games/pncdsl-demo/lib"
)
// The asset tree is compiled into the binary so the js/wasm build can
// load it too — in the browser there is no OS filesystem to read from.
//
//go:embed assets
var assetsFS embed.FS
func main() {
p.AssetFS = assetsFS
lib.Run()
}