main.go 524 B

1234567891011121314151617181920212223242526
  1. /**
  2. ******************************************************************************
  3. * @file main.go
  4. * @author Makeryang
  5. ******************************************************************************
  6. */
  7. package main
  8. import (
  9. "cnc/framework"
  10. "embed"
  11. "fmt"
  12. "github.com/gookit/color"
  13. )
  14. //go:embed all:template/dist
  15. var Template embed.FS
  16. //go:embed all:wails.json
  17. var VersionInfo embed.FS
  18. func main() {
  19. fmt.Println("[desktop][main]:" + color.Gray.Text("starting..."))
  20. Framework.Init(Template, VersionInfo)
  21. }