diff --git a/electron/config/config.default.js b/electron/config/config.default.js index d2cc404..e01d6c9 100644 --- a/electron/config/config.default.js +++ b/electron/config/config.default.js @@ -56,6 +56,8 @@ module.exports = (appInfo) => { nodeIntegration: true, }, frame: true, + show: false, + //backgroundColor: '#000000' //titleBarStyle: 'hidden' }; @@ -101,6 +103,11 @@ module.exports = (appInfo) => { port: 7072, // 默认端口(如果端口被使用,则随机获取一个) }; + /** + * 硬件加速 + */ + config.hardGpu = false; + /* 应用自动升级 (可选) */ config.autoUpdate = { windows: false, // windows平台 diff --git a/package.json b/package.json index af734da..a0ac6ae 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ee", - "version": "2.1.3", + "version": "2.1.4", "description": "A fast, desktop software development framework", "main": "main.js", "scripts": { @@ -102,7 +102,7 @@ "license": "Apache", "devDependencies": { "debug": "^4.3.3", - "electron": "^12.2.3", + "electron": "^13.6.9", "electron-builder": "22.10.4", "eslint": "^5.13.0", "eslint-config-egg": "^7.1.0",