create webui assets

This commit is contained in:
josc146 2023-11-07 22:23:26 +08:00
parent 150beb578c
commit e734fce64f

View File

@ -67,6 +67,7 @@ var components embed.FS
func main() {
if buildInfo, ok := debug.ReadBuildInfo(); !ok || strings.Contains(buildInfo.String(), "-ldflags") {
backend.CopyEmbed(assets)
os.RemoveAll("./py310/Lib/site-packages/cyac-1.7.dist-info")
backend.CopyEmbed(cyac)
backend.CopyEmbed(cyacInfo)