From 86cb5f5ab452029d031be678eb57337f3752c92a Mon Sep 17 00:00:00 2001 From: gaoshuaixing <530353222@qq.com> Date: Fri, 25 Nov 2022 17:18:59 +0800 Subject: [PATCH] 2.3.0 --- README.md | 7 +++++-- README.zh-CN.md | 7 +++++-- electron/controller/example.js | 6 +++++- package.json | 2 +- update.md | 11 +++++++++++ 5 files changed, 27 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 64819c0..3083630 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ - [Tutorial document](https://www.yuque.com/u34495/ee-doc) ## 📦 Features -1. 🍄 **Cross platform:** a set of code that can be packaged into windows, Mac, and Linux. +1. 🍄 **Cross platform:** a set of code that can be packaged into windows, Mac, Linux and UOS、Deepin、KylinOS. 2. 🌹 **Simple and efficient:** you only need to learn the js language and support front-end technologies such as vue, react, and html. 3. 🌱 **Frontend independence:** theoretically supports any front-end technology to write exquisite UI effects. 4. 🌴 **Engineering:** you can use the development thinking of the server to write desktop software. @@ -47,7 +47,10 @@ - 🚍 macOS ![](https://wallace5303.gitee.io/ee/images/electron-egg/mac-socket.png) -- 🚔 linux (ubuntu) +- 🚔 linux - UOS、Deepin + ![](https://wallace5303.gitee.io/ee/images/electron-egg/uos-home.png) + +- 🚔 linux - ubuntu ![](https://wallace5303.gitee.io/ee/images/electron-egg/ubuntu-db.png) ### 🚐 2. Convert vue, react, angular, and web into desktop software diff --git a/README.zh-CN.md b/README.zh-CN.md index 83f940d..2f9c0b2 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -28,7 +28,7 @@ - [教程文档](https://www.yuque.com/u34495/mivcfg) ## 📦 特性 -1. 🍄 跨平台:一套代码,可以打包成windows版、Mac版、Linux版 +1. 🍄 跨平台:一套代码,可以打包成windows版、Mac版、Linux版、国产UOS、Deepin、麒麟等 2. 🌹 简单高效:只需学习 js 语言,同时支持vue、react、html等前端技术 3. 🌱 前端独立:理论上支持任何前端技术,编写出精美的UI效果 4. 🌴 工程化:可以用服务端的开发思维,来编写桌面软件 @@ -48,7 +48,10 @@ - 🚍 macOS平台 ![](https://wallace5303.gitee.io/ee/images/electron-egg/mac-socket.png) -- 🚔 linux平台 (ubuntu) +- 🚔 linux平台 - 国产UOS、Deepin + ![](https://wallace5303.gitee.io/ee/images/electron-egg/uos-home.png) + +- 🚔 linux平台 - ubuntu ![](https://wallace5303.gitee.io/ee/images/electron-egg/ubuntu-db.png) ### 🚐 2. vue、react、angular、web 转换成桌面软件 diff --git a/electron/controller/example.js b/electron/controller/example.js index e1a0d15..0c32815 100644 --- a/electron/controller/example.js +++ b/electron/controller/example.js @@ -42,7 +42,11 @@ class ExampleController extends Controller { let tmpDir = Utils.getLogDir(); console.log('tmpDir:', tmpDir); - console.log('this.app.request:', this.app.request.query); + // console.log('this.app.request:', this.app.request.query); + + // const exampleAddon = this.app.addon.example; + // const str = exampleAddon.hello(); + // console.log('str:', str); return result; } diff --git a/package.json b/package.json index 5dc8368..ba381ed 100644 --- a/package.json +++ b/package.json @@ -114,7 +114,7 @@ "dependencies": { "better-sqlite3": "^7.6.0", "dayjs": "^1.10.7", - "ee-core": "^1.3.4-beta.3", + "ee-core": "^1.4.0", "electron-is": "^3.0.0", "lodash": "^4.17.21" } diff --git a/update.md b/update.md index 9bf2240..766c960 100644 --- a/update.md +++ b/update.md @@ -1,3 +1,14 @@ +## 2.3.0 +1. 增加addon插件模块,开发者可以自由扩展app对象 +2. 内置window插件,实现多窗口通信 +3. 增加上传文件demo +4. 增加多窗口通信demo,实现子窗口与主进程通信、子窗口之间互相通信 +5. 增加插件config配置 +6. 优化title显示 +7. 增加更强大obfuscator混淆功能,提供strict类型 +8. 移除uglify混淆及包 +9. 升级ee-core到1.4.0 + ## 2.2.1 1. 增加http服务请求过滤配置 2. 优化http服务开启后,浏览器默认请求报错