mirror of
https://gitee.com/dromara/electron-egg.git
synced 2026-05-14 19:52:10 +08:00
3.8.0
This commit is contained in:
BIN
build/icons/128x128.png
Normal file
BIN
build/icons/128x128.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 11 KiB |
BIN
build/icons/16x16.png
Normal file
BIN
build/icons/16x16.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 745 B |
BIN
build/icons/48x48.png
Normal file
BIN
build/icons/48x48.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.2 KiB |
BIN
build/icons/icon.icns
Normal file
BIN
build/icons/icon.icns
Normal file
Binary file not shown.
BIN
build/icons/icon.png
Normal file
BIN
build/icons/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 119 KiB |
@@ -72,5 +72,27 @@ module.exports = {
|
|||||||
stringArrayEncoding: ['none'],
|
stringArrayEncoding: ['none'],
|
||||||
deadCodeInjection: false,
|
deadCodeInjection: false,
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 执行自定义命令
|
||||||
|
* ee-bin exec
|
||||||
|
*/
|
||||||
|
exec: {
|
||||||
|
go: {
|
||||||
|
directory: './go',
|
||||||
|
cmd: 'go',
|
||||||
|
args: ['run', './main.go', '--env=dev'],
|
||||||
|
},
|
||||||
|
node_version: {
|
||||||
|
directory: './',
|
||||||
|
cmd: 'node',
|
||||||
|
args: ['-v'],
|
||||||
|
},
|
||||||
|
npm_version: {
|
||||||
|
directory: './',
|
||||||
|
cmd: 'npm',
|
||||||
|
args: ['-v'],
|
||||||
|
},
|
||||||
|
},
|
||||||
};
|
};
|
||||||
@@ -26,8 +26,8 @@ module.exports = (appInfo) => {
|
|||||||
title: 'EE框架',
|
title: 'EE框架',
|
||||||
width: 980,
|
width: 980,
|
||||||
height: 650,
|
height: 650,
|
||||||
minWidth: 800,
|
minWidth: 400,
|
||||||
minHeight: 650,
|
minHeight: 300,
|
||||||
webPreferences: {
|
webPreferences: {
|
||||||
webSecurity: false,
|
webSecurity: false,
|
||||||
contextIsolation: false, // false -> 可在渲染进程中使用electron的api,true->需要bridge.js(contextBridge)
|
contextIsolation: false, // false -> 可在渲染进程中使用electron的api,true->需要bridge.js(contextBridge)
|
||||||
@@ -89,6 +89,7 @@ module.exports = (appInfo) => {
|
|||||||
key: '/public/ssl/localhost+1.key',
|
key: '/public/ssl/localhost+1.key',
|
||||||
cert: '/public/ssl/localhost+1.pem'
|
cert: '/public/ssl/localhost+1.pem'
|
||||||
},
|
},
|
||||||
|
host: '127.0.0.1',
|
||||||
port: 7071,
|
port: 7071,
|
||||||
cors: {
|
cors: {
|
||||||
origin: "*"
|
origin: "*"
|
||||||
@@ -113,7 +114,7 @@ module.exports = (appInfo) => {
|
|||||||
config.mainServer = {
|
config.mainServer = {
|
||||||
protocol: 'file://',
|
protocol: 'file://',
|
||||||
indexPath: '/public/dist/index.html',
|
indexPath: '/public/dist/index.html',
|
||||||
host: 'localhost',
|
host: '127.0.0.1',
|
||||||
port: 7072,
|
port: 7072,
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -133,6 +134,13 @@ module.exports = (appInfo) => {
|
|||||||
rendererExit: true,
|
rendererExit: true,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* jobs
|
||||||
|
*/
|
||||||
|
config.jobs = {
|
||||||
|
messageLog: true
|
||||||
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 插件功能
|
* 插件功能
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -18,6 +18,13 @@ module.exports = (appInfo) => {
|
|||||||
*/
|
*/
|
||||||
config.openAppMenu = true;
|
config.openAppMenu = true;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* jobs
|
||||||
|
*/
|
||||||
|
config.jobs = {
|
||||||
|
messageLog: true
|
||||||
|
};
|
||||||
|
|
||||||
return {
|
return {
|
||||||
...config
|
...config
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -16,6 +16,13 @@ module.exports = (appInfo) => {
|
|||||||
*/
|
*/
|
||||||
config.openAppMenu = false;
|
config.openAppMenu = false;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* jobs
|
||||||
|
*/
|
||||||
|
config.jobs = {
|
||||||
|
messageLog: false
|
||||||
|
};
|
||||||
|
|
||||||
return {
|
return {
|
||||||
...config
|
...config
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
margin: -7.5em;
|
margin: -7.5em;
|
||||||
padding: 3em;
|
padding: 3em;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 40%;
|
top: 50%;
|
||||||
width: 9em;
|
width: 9em;
|
||||||
transform: rotateX(45deg) rotateZ(45deg);
|
transform: rotateX(45deg) rotateZ(45deg);
|
||||||
transform-style: preserve-3d;
|
transform-style: preserve-3d;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "ee",
|
"name": "ee",
|
||||||
"version": "3.7.0",
|
"version": "3.8.0",
|
||||||
"description": "A fast, desktop software development framework",
|
"description": "A fast, desktop software development framework",
|
||||||
"main": "main.js",
|
"main": "main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
@@ -46,7 +46,7 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@electron/rebuild": "^3.2.13",
|
"@electron/rebuild": "^3.2.13",
|
||||||
"debug": "^4.3.3",
|
"debug": "^4.3.3",
|
||||||
"ee-bin": "^1.2.0",
|
"ee-bin": "^1.3.0",
|
||||||
"electron": "^21.4.4",
|
"electron": "^21.4.4",
|
||||||
"electron-builder": "^23.6.0",
|
"electron-builder": "^23.6.0",
|
||||||
"eslint": "^5.13.0",
|
"eslint": "^5.13.0",
|
||||||
@@ -55,7 +55,7 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"dayjs": "^1.10.7",
|
"dayjs": "^1.10.7",
|
||||||
"ee-core": "^2.5.0",
|
"ee-core": "^2.6.0",
|
||||||
"electron-updater": "^5.3.0",
|
"electron-updater": "^5.3.0",
|
||||||
"lodash": "^4.17.21"
|
"lodash": "^4.17.21"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user