提交 0013bbd3 编写于 作者: yanghye's avatar yanghye

update readme

上级 a7a289c0
......@@ -106,7 +106,7 @@ func main() {
//Global initialization must be called by every application
cef.GlobalInit(nil, nil)
//Create application
cefApp := cef.NewApplication(nil)
cefApp := cef.NewApplication()
//Set URL
cef.BrowserWindow.Config.Url = "https://energy.yanghy.cn"
//Run App
......
......@@ -103,7 +103,7 @@ func main() {
//全局初始化 每个应用都必须调用的
cef.GlobalInit(nil, nil)
//创建应用
cefApp := cef.NewApplication(nil)
cefApp := cef.NewApplication()
//指定一个URL地址,或本地html文件目录
cef.BrowserWindow.Config.Url = "https://energy.yanghy.cn"
//运行应用
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册