From f7151515bc355bab78dc4e53c3a2b87fdd9760ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E7=BA=A2=E5=B2=A9?= Date: Wed, 23 Nov 2022 12:55:14 +0800 Subject: [PATCH] demo: update control --- example/browser-control/control.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example/browser-control/control.go b/example/browser-control/control.go index 254b7022..ae3be3e7 100644 --- a/example/browser-control/control.go +++ b/example/browser-control/control.go @@ -27,9 +27,9 @@ func main() { //不指定为当前程序执行目录 if common.IsWindows() { //SetFrameworkDirPath 或 配置环境变量 ENERGY_HOME - cfg.SetFrameworkDirPath("D:\\app.exe\\energy\\105.0.5195.127\\dev\\chromium-64") + //cfg.SetFrameworkDirPath("D:\\app.exe\\energy\\chromium64") } else if common.IsLinux() { - cfg.SetFrameworkDirPath("/home/sxm/app/swt/energy/chromium") + //cfg.SetFrameworkDirPath("/home/sxm/app/swt/energy/chromium") } //创建应用 cefApp := cef.NewApplication(cfg)