blob: 475e7a23f6225939c9c597cbc403dcb6b100d9ac [file] [log] [blame]
Josh Bleecher Snyder1c18ec92025-07-08 10:55:54 -07001//go:build innie
2
3package embedded
4
5import (
6 "embed"
7 "io/fs"
8)
9
10//go:embed webui-dist
11var webUIAssets embed.FS
12
13// LinuxBinary returns the embedded linux binary.
14func LinuxBinary() []byte {
15 return nil
16}
17
18// WebUIFS returns the embedded webui filesystem for direct serving
19func WebUIFS() fs.FS {
20 // TODO: can we avoid this fs.Sub somehow?
21 webuiFS, _ := fs.Sub(webUIAssets, "webui-dist")
22 return webuiFS
23}