- 移除了 AuthServiceImpl 中的登录、注册、token 验证等方法,仅保留错误上报和客户端信息功能 - 删除了设备注册和离线通知相关逻辑 - 移除了 IAuthService 接口中的登录、注册、验证 token 等方法定义 - 清理了 AccountManager.vue 中的无关注释文字-优化了阿里巴巴1688 服务中的图片上传处理逻辑- 移除了 AmazonScrapingServiceImpl 中未使用的日志导入和空行 - 统一了 Vue 组件中的同步导入方式,替换异步组件定义 - 更新了应用配置文件中的服务器地址和懒加载设置 - 新增缓存管理服务用于统一清理各类缓存数据 - 优化了设备 IP 地址获取逻辑并在注册时传递给后端- 调整了构建配置以减小安装包体积并支持多语言 - 修改了主进程窗口加载逻辑以适配开发与生产环境- 添加了全局样式限制图片预览器尺寸 - 移除了设备 ID 测试类和部分无用的正则表达式导入
83 lines
1.6 KiB
JSON
83 lines
1.6 KiB
JSON
{
|
|
"appId": "com.erp.client",
|
|
"productName": "erpClient",
|
|
"asar": {
|
|
"smartUnpack": false
|
|
},
|
|
"compression": "maximum",
|
|
"asarUnpack": [
|
|
"public/jre/**/*",
|
|
"public/icon/**/*",
|
|
"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/**/*",
|
|
"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"]
|
|
}
|
|
]
|
|
}
|