Files
mir-godot/desktop/main.go
2024-03-03 22:59:18 +08:00

27 lines
524 B
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
******************************************************************************
* @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)
}