From f12f5b0a20b32064cca785b961aed4092d2b93ab Mon Sep 17 00:00:00 2001 From: gsx <530353222@qq.com> Date: Mon, 23 May 2022 14:49:21 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A1=AC=E4=BB=B6=E5=8A=A0=E9=80=9F=E5=BC=80?= =?UTF-8?q?=E5=85=B3=E4=B8=BA=E5=AF=B9=E8=B1=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- electron/config/config.default.js | 4 +++- package.json | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/electron/config/config.default.js b/electron/config/config.default.js index 8a15a4d..564f33a 100644 --- a/electron/config/config.default.js +++ b/electron/config/config.default.js @@ -106,7 +106,9 @@ module.exports = (appInfo) => { /** * 硬件加速 */ - config.hardGpu = false; + config.hardGpu = { + enable: false + }; /* 应用自动升级 (可选) */ config.autoUpdate = { diff --git a/package.json b/package.json index db3eb00..5f2991c 100755 --- a/package.json +++ b/package.json @@ -112,7 +112,7 @@ }, "dependencies": { "dayjs": "^1.10.7", - "ee-core": "^1.2.4", + "ee-core": "^1.2.6", "electron-is": "^3.0.0", "lodash": "^4.17.21" }