mirror of
https://gitee.com/dromara/electron-egg.git
synced 2026-05-14 19:52:10 +08:00
builder
This commit is contained in:
@@ -1 +0,0 @@
|
|||||||
chrome应用商店ctx文件,解压后,放置在此目录中,打包时会将资源加入安装包内。
|
|
||||||
55
electron/config/builder.json
Normal file
55
electron/config/builder.json
Normal file
@@ -0,0 +1,55 @@
|
|||||||
|
{
|
||||||
|
"productName": "ee",
|
||||||
|
"appId": "com.electron.ee",
|
||||||
|
"copyright": "哆啦好梦",
|
||||||
|
"directories": {
|
||||||
|
"output": "out"
|
||||||
|
},
|
||||||
|
"asar": true,
|
||||||
|
"files": [
|
||||||
|
"**/*",
|
||||||
|
"!frontend/",
|
||||||
|
"!run/",
|
||||||
|
"!logs/",
|
||||||
|
"!data/"
|
||||||
|
],
|
||||||
|
"extraResources": {
|
||||||
|
"from": "./build/extraResources/",
|
||||||
|
"to": "extraResources"
|
||||||
|
},
|
||||||
|
"nsis": {
|
||||||
|
"oneClick": false,
|
||||||
|
"allowElevation": true,
|
||||||
|
"allowToChangeInstallationDirectory": true,
|
||||||
|
"installerIcon": "./build/icons/icon.ico",
|
||||||
|
"uninstallerIcon": "./build/icons/icon.ico",
|
||||||
|
"installerHeaderIcon": "./build/icons/icon.ico",
|
||||||
|
"createDesktopShortcut": true,
|
||||||
|
"createStartMenuShortcut": true,
|
||||||
|
"shortcutName": "EE框架"
|
||||||
|
},
|
||||||
|
"mac": {
|
||||||
|
"icon": "./build/icons/icon.icns",
|
||||||
|
"artifactName": "${productName}-${os}-${version}-${arch}.${ext}",
|
||||||
|
"darkModeSupport": true,
|
||||||
|
"hardenedRuntime": false,
|
||||||
|
"notarize": false
|
||||||
|
},
|
||||||
|
"win": {
|
||||||
|
"icon": "./build/icons/icon.ico",
|
||||||
|
"artifactName": "${productName}-${os}-${version}-${arch}.${ext}",
|
||||||
|
"target": [
|
||||||
|
{
|
||||||
|
"target": "nsis"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"linux": {
|
||||||
|
"icon": "./build/icons/icon.icns",
|
||||||
|
"artifactName": "${productName}-${os}-${version}-${arch}.${ext}",
|
||||||
|
"target": [
|
||||||
|
"deb"
|
||||||
|
],
|
||||||
|
"category": "Utility"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -114,7 +114,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"better-sqlite3": "^7.6.2",
|
"better-sqlite3": "^7.6.2",
|
||||||
"dayjs": "^1.10.7",
|
"dayjs": "^1.10.7",
|
||||||
"ee-core": "^2.2.2",
|
"ee-core": "^2.2.3-beta.1",
|
||||||
"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