chore
This commit is contained in:
parent
30e1c3171e
commit
d7ba88953d
Binary file not shown.
3
main.go
3
main.go
@ -43,7 +43,7 @@ var assets embed.FS
|
||||
//go:embed all:py310/Lib/site-packages/cyac
|
||||
var cyac embed.FS
|
||||
|
||||
//go:embed all:py310/Lib/site-packages/cyac-1.7.dist-info
|
||||
//go:embed all:py310/Lib/site-packages/cyac-1.9.dist-info
|
||||
var cyacInfo embed.FS
|
||||
|
||||
//go:embed backend-python
|
||||
@ -66,6 +66,7 @@ var components embed.FS
|
||||
|
||||
func main() {
|
||||
if buildInfo, ok := debug.ReadBuildInfo(); !ok || strings.Contains(buildInfo.String(), "-ldflags") {
|
||||
os.RemoveAll("./py310/Lib/site-packages/cyac-1.7.dist-info")
|
||||
backend.CopyEmbed(cyac)
|
||||
backend.CopyEmbed(cyacInfo)
|
||||
backend.CopyEmbed(py)
|
||||
|
Loading…
Reference in New Issue
Block a user