新增本地化

This commit is contained in:
zyj
2025-10-22 18:27:24 +08:00
parent 81df8f1ad8
commit 211f4f9615
10 changed files with 531 additions and 152 deletions

18
libs/pack.go Normal file
View File

@@ -0,0 +1,18 @@
package libs
import webview "github.com/webview/webview_go"
type Pack struct{}
func (Pack) Test() {
debug := true
w := webview.New(debug)
defer w.Destroy()
w.SetTitle("Go + WebView2 应用")
w.SetSize(1024, 768, webview.HintNone)
// 加载远程网页
w.Navigate("https://www.baidu.com")
w.Run()
}