提交 3ce0dd5f 编写于 作者: yanghye's avatar yanghye

example

上级 88eaf79a
......@@ -6,7 +6,6 @@ import (
"github.com/energye/energy/common"
"github.com/energye/golcl/lcl"
"github.com/energye/golcl/lcl/types"
"os"
)
//主浏览器窗口
......@@ -15,10 +14,9 @@ func MainBrowserWindow() {
if !common.Args.IsMain() {
return
}
fmt.Println("os.Args", os.Args)
//主窗口的配置
//指定一个URL地址,或本地html文件目录
cef.BrowserWindow.Config.DefaultUrl = "https://www.baidu.com"
cef.BrowserWindow.Config.DefaultUrl = "https://energy.yanghy.cn/"
//窗口的标题
cef.BrowserWindow.Config.Title = "Energy - 浏览器控制"
//窗口宽高
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册