mirror of
https://gitee.com/dromara/electron-egg.git
synced 2026-05-14 03:52:07 +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'],
|
||||
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框架',
|
||||
width: 980,
|
||||
height: 650,
|
||||
minWidth: 800,
|
||||
minHeight: 650,
|
||||
minWidth: 400,
|
||||
minHeight: 300,
|
||||
webPreferences: {
|
||||
webSecurity: false,
|
||||
contextIsolation: false, // false -> 可在渲染进程中使用electron的api,true->需要bridge.js(contextBridge)
|
||||
@@ -89,6 +89,7 @@ module.exports = (appInfo) => {
|
||||
key: '/public/ssl/localhost+1.key',
|
||||
cert: '/public/ssl/localhost+1.pem'
|
||||
},
|
||||
host: '127.0.0.1',
|
||||
port: 7071,
|
||||
cors: {
|
||||
origin: "*"
|
||||
@@ -113,7 +114,7 @@ module.exports = (appInfo) => {
|
||||
config.mainServer = {
|
||||
protocol: 'file://',
|
||||
indexPath: '/public/dist/index.html',
|
||||
host: 'localhost',
|
||||
host: '127.0.0.1',
|
||||
port: 7072,
|
||||
};
|
||||
|
||||
@@ -131,6 +132,13 @@ module.exports = (appInfo) => {
|
||||
mainExit: false,
|
||||
childExit: true,
|
||||
rendererExit: true,
|
||||
};
|
||||
|
||||
/**
|
||||
* jobs
|
||||
*/
|
||||
config.jobs = {
|
||||
messageLog: true
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
@@ -18,6 +18,13 @@ module.exports = (appInfo) => {
|
||||
*/
|
||||
config.openAppMenu = true;
|
||||
|
||||
/**
|
||||
* jobs
|
||||
*/
|
||||
config.jobs = {
|
||||
messageLog: true
|
||||
};
|
||||
|
||||
return {
|
||||
...config
|
||||
};
|
||||
|
||||
@@ -16,6 +16,13 @@ module.exports = (appInfo) => {
|
||||
*/
|
||||
config.openAppMenu = false;
|
||||
|
||||
/**
|
||||
* jobs
|
||||
*/
|
||||
config.jobs = {
|
||||
messageLog: false
|
||||
};
|
||||
|
||||
return {
|
||||
...config
|
||||
};
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
margin: -7.5em;
|
||||
padding: 3em;
|
||||
position: absolute;
|
||||
top: 40%;
|
||||
top: 50%;
|
||||
width: 9em;
|
||||
transform: rotateX(45deg) rotateZ(45deg);
|
||||
transform-style: preserve-3d;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ee",
|
||||
"version": "3.7.0",
|
||||
"version": "3.8.0",
|
||||
"description": "A fast, desktop software development framework",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
@@ -46,7 +46,7 @@
|
||||
"devDependencies": {
|
||||
"@electron/rebuild": "^3.2.13",
|
||||
"debug": "^4.3.3",
|
||||
"ee-bin": "^1.2.0",
|
||||
"ee-bin": "^1.3.0",
|
||||
"electron": "^21.4.4",
|
||||
"electron-builder": "^23.6.0",
|
||||
"eslint": "^5.13.0",
|
||||
@@ -55,7 +55,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"dayjs": "^1.10.7",
|
||||
"ee-core": "^2.5.0",
|
||||
"ee-core": "^2.6.0",
|
||||
"electron-updater": "^5.3.0",
|
||||
"lodash": "^4.17.21"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user