update desktop

This commit is contained in:
GeekROS
2023-08-28 22:37:55 +08:00
parent e824e790a2
commit dfecbdee01
60 changed files with 3318 additions and 0 deletions

23
desktop/main.go Normal file
View File

@@ -0,0 +1,23 @@
/**
******************************************************************************
* @file main.go
* @author GEEKROS site:www.geekros.com github:geekros.github.io
******************************************************************************
*/
package main
import (
"cnc/framework"
"embed"
"fmt"
"github.com/gookit/color"
)
//go:embed all:template/dist
var Template embed.FS
func main() {
fmt.Println("[cnc][main]" + color.Gray.Text("starting..."))
Framework.Init(Template)
}