diff --git "a/example/simple-macosx/libs/liblcl.dll\345\255\230\346\224\276\347\233\256\345\275\225-\345\217\257\345\206\205\347\275\256\345\210\260\346\211\247\350\241\214\347\250\213\345\272\217\344\270\255.md" "b/example/simple-macosx/libs/liblcl.dll\345\255\230\346\224\276\347\233\256\345\275\225-\345\217\257\345\206\205\347\275\256\345\210\260\346\211\247\350\241\214\347\250\213\345\272\217\344\270\255.md"
new file mode 100644
index 0000000000000000000000000000000000000000..25ddfd7e9fdf71f09e905b162481eae613411922
--- /dev/null
+++ "b/example/simple-macosx/libs/liblcl.dll\345\255\230\346\224\276\347\233\256\345\275\225-\345\217\257\345\206\205\347\275\256\345\210\260\346\211\247\350\241\214\347\250\213\345\272\217\344\270\255.md"
@@ -0,0 +1,3 @@
+提取Energy压缩包动态链接库liblcl.dll到该目录下
+
+libs目录下的文件会被编译到执行文件中
\ No newline at end of file
diff --git a/example/simple-macosx/resources/icon.ico b/example/simple-macosx/resources/icon.ico
new file mode 100644
index 0000000000000000000000000000000000000000..15488cda83df2add53a05fbd651249c8deb3ab29
Binary files /dev/null and b/example/simple-macosx/resources/icon.ico differ
diff --git a/example/simple-macosx/resources/index.html b/example/simple-macosx/resources/index.html
new file mode 100644
index 0000000000000000000000000000000000000000..b25c802f3e41d2e7f6b260ceb9e9a133f84bf713
--- /dev/null
+++ b/example/simple-macosx/resources/index.html
@@ -0,0 +1,16 @@
+
+
+
+
+ cookie
+
+
+
+
+百度
+Energy
+
+
\ No newline at end of file
diff --git "a/example/simple-macosx/resources/\350\265\204\346\272\220\345\255\230\346\224\276\347\233\256\345\275\225-\345\217\257\345\206\205\347\275\256\345\210\260\346\211\247\350\241\214\347\250\213\345\272\217\344\270\255.md" "b/example/simple-macosx/resources/\350\265\204\346\272\220\345\255\230\346\224\276\347\233\256\345\275\225-\345\217\257\345\206\205\347\275\256\345\210\260\346\211\247\350\241\214\347\250\213\345\272\217\344\270\255.md"
new file mode 100644
index 0000000000000000000000000000000000000000..07a7300fc6a71ddf0974b5e12b4a206c5c86b2aa
--- /dev/null
+++ "b/example/simple-macosx/resources/\350\265\204\346\272\220\345\255\230\346\224\276\347\233\256\345\275\225-\345\217\257\345\206\205\347\275\256\345\210\260\346\211\247\350\241\214\347\250\213\345\272\217\344\270\255.md"
@@ -0,0 +1,3 @@
+可将html css javascript image等静态资源放入该目录,编译后将内置到执行程序中
+
+通过内置http server 读取该目录文件,展示到页面中
\ No newline at end of file
diff --git a/example/simple-macosx/simple.go b/example/simple-macosx/simple.go
new file mode 100644
index 0000000000000000000000000000000000000000..3bd82c68b688957e9833413929cf699f43a57430
--- /dev/null
+++ b/example/simple-macosx/simple.go
@@ -0,0 +1,20 @@
+package main
+
+import (
+ "github.com/energye/energy/cef"
+ "github.com/energye/energy/common"
+ "github.com/energye/golcl/pkgs/macapp"
+)
+
+func main() {
+ //开发环境中 MacOSX平台必须在"GlobalCEFInit"之前设置CEF
+ macapp.MacApp.IsCEF(common.IsDarwin())
+ //全局初始化 每个应用都必须调用的
+ cef.GlobalCEFInit(nil, nil)
+ //创建应用
+ cefApp := cef.NewApplication(nil)
+ //指定一个URL地址,或本地html文件目录
+ cef.BrowserWindow.Config.DefaultUrl = "https://energy.yanghy.cn"
+ //运行应用
+ cef.Run(cefApp)
+}