硬件加速 和 loading页

This commit is contained in:
gsx
2022-05-23 11:35:54 +08:00
parent 561e3eae3f
commit c61ced8e0a
2 changed files with 9 additions and 2 deletions

View File

@@ -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平台

View File

@@ -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",