blob: 8aa4789a7cc3218fabd1bffdc5ad1a09c37ced9f [file] [log] [blame]
//go:build innie
package embedded
import (
"embed"
"io/fs"
)
//go:embed webui-dist
var webUIAssets embed.FS
// LinuxBinary returns the embedded linux binary.
func LinuxBinary(arch string) []byte {
return nil
}
// WebUIFS returns the embedded webui filesystem for direct serving
func WebUIFS() fs.FS {
// TODO: can we avoid this fs.Sub somehow?
webuiFS, _ := fs.Sub(webUIAssets, "webui-dist")
return webuiFS
}