Initial commit

This commit is contained in:
GeekROS
2024-03-03 22:59:18 +08:00
commit cec0aae8e3
69 changed files with 2687 additions and 0 deletions

26
desktop/main.go Normal file
View File

@@ -0,0 +1,26 @@
/**
******************************************************************************
* @file main.go
* @author Makeryang
******************************************************************************
*/
package main
import (
"cnc/framework"
"embed"
"fmt"
"github.com/gookit/color"
)
//go:embed all:template/dist
var Template embed.FS
//go:embed all:wails.json
var VersionInfo embed.FS
func main() {
fmt.Println("[desktop][main]" + color.Gray.Text("starting..."))
Framework.Init(Template, VersionInfo)
}