- 移除启动时的固定延时,改为即时反馈启动状态- 更新跟卖精灵描述文案,移除初始化时间说明 - 统一spinner样式类名,优化加载动画显示逻辑 - 调整菜单激活背景色,增强视觉层次感- 引入平台图标图片替代文字标识- 修改VIP状态栏背景及文字颜色,提升可读性 - 配置ChromeDriver国内镜像源并实现后台预加载 - 添加WebDriverManager依赖以自动管理浏览器驱动 -优化electron-builder资源打包配置
87 lines
1.7 KiB
JSON
87 lines
1.7 KiB
JSON
{
|
|
"appId": "com.erp.client",
|
|
"productName": "erpClient",
|
|
"asar": {
|
|
"smartUnpack": false
|
|
},
|
|
"compression": "maximum",
|
|
"asarUnpack": [
|
|
"public/jre/**/*",
|
|
"public/icon/icon.png",
|
|
"public/icon/image.png",
|
|
"public/icon/img.png",
|
|
"public/image/**/*",
|
|
"public/splash.html",
|
|
"public/config/**/*"
|
|
],
|
|
"directories": {
|
|
"output": "dist"
|
|
},
|
|
"electronLanguages": ["zh-CN", "en-US"],
|
|
"nsis": {
|
|
"oneClick": false,
|
|
"perMachine": false,
|
|
"allowToChangeInstallationDirectory": true,
|
|
"shortcutName": "erpClient"
|
|
},
|
|
"win": {
|
|
"target": "dir",
|
|
"icon": "public/icon/icon.png"
|
|
},
|
|
"files": [
|
|
"package.json",
|
|
{
|
|
"from": "build/main",
|
|
"to": "main",
|
|
"filter": ["**/*"]
|
|
},
|
|
{
|
|
"from": "build/renderer",
|
|
"to": "renderer",
|
|
"filter": ["**/*"]
|
|
},
|
|
{
|
|
"from": "src/main/static",
|
|
"to": "static",
|
|
"filter": ["**/*"]
|
|
},
|
|
{
|
|
"from": "public",
|
|
"to": "public",
|
|
"filter": [
|
|
"jre/**/*",
|
|
"icon/icon.png",
|
|
"icon/image.png",
|
|
"icon/img.png",
|
|
"image/**/*",
|
|
"splash.html",
|
|
"config/**/*",
|
|
"!erp_client_sb-*.jar",
|
|
"!data/**/*",
|
|
"!jre/bin/*.exe",
|
|
"jre/bin/java.exe",
|
|
"jre/bin/javaw.exe",
|
|
"jre/bin/keytool.exe",
|
|
"!jre/include/**",
|
|
"!jre/lib/src.zip",
|
|
"!jre/lib/ct.sym",
|
|
"!jre/lib/jvm.lib"
|
|
]
|
|
},
|
|
"!build",
|
|
"!dist",
|
|
"!scripts"
|
|
],
|
|
"extraResources": [
|
|
{
|
|
"from": "update-helper.bat",
|
|
"to": "../update-helper.bat"
|
|
},
|
|
{
|
|
"from": "public",
|
|
"to": "./",
|
|
"filter": ["erp_client_sb-*.jar"]
|
|
}
|
|
]
|
|
}
|