Files
DataViewCenter/SmartAgriCenter/electron-builder.yml
T
fanhongcai 68810be606 init: 鏅烘収鍐滀笟澶ф暟鎹彲瑙嗗寲鎺у埗涓績 v0.1.0锛圗lectron + React 19 + TS 閲嶅啓鐗堬級
- 缂栬緫鍣細椤圭洰鏂板缓/鎵撳紑/淇濆瓨/鍙﹀瓨涓猴紙璁颁綇鏈€鍚庢枃浠跺す锛夈€侀〉闈㈠鍒?鍓嶆彃/绉诲姩/澶嶅埗/鎴浘/椤甸潰閲嶆帓銆丅ase64 棰勮鍥俱€? 椤归〉闈㈠睘鎬?- 鍙戝竷鍣細棰勮鏈〉/鍗曞睆鍙戝竷(杞挱)/澶氬睆鍙戝竷(alsoMain)/鍋滄杞挱/鍏抽棴鎵€鏈?妫€娴嬪睆骞曪紝蹇嵎閿綋绯?1-9闀挎寜闃堝€?鈫戔啌/Esc/F5/閿佸畾閿?
- 閰嶇疆鍣細椤圭洰淇℃伅/閬ユ帶璁剧疆/蹇嵎鏂瑰紡x3/鍙戝竷璁剧疆/璁惧娴嬭瘯/鍏充簬 6 鑿滃崟
- 鏁版嵁瀹夊叏锛欽SON 宸ョ▼ AES-256-GCM 瀵嗙爜鍔犲瘑
- 鐗堟湰鍙峰崟涓€鏉ユ簮(package.json)锛岀豢鑹茬増 zip 鎵撳寘(electron-builder)
- 闄勫甫锛氶渶姹傛枃妗?v2.0銆佹寚浠ゆ竻鍗曘€乸rototype 澶у睆鍘熷瀷
2026-08-23 10:57:14 +08:00

28 lines
949 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 绿色版打包配置(electron-builder
# 使用方式:npm run dist(先 electron-vite build,再 electron-builder
# 输出位置:release/ 目录下 zip 压缩包,解压即用(免安装绿色版)
appId: com.bbit.smartagri
productName: 智慧农业大数据可视化控制中心
directories:
output: release
buildResources: build
# 只打包构建产物(main/preload/renderer 已全部打进 out/
files:
- out/**
- package.json
# 应用图标(dev 模式主窗口 icon 与打包均使用)
- build/icon.ico
asar: true
# 关闭重建原生依赖(本应用无原生模块,避免下载耗时)
npmRebuild: false
win:
icon: build/icon.ico
# zip = 免安装绿色版压缩包;如需单文件 exe 可加 portable
target:
- target: zip
arch:
- x64
# 本机网络受限时使用 Electron 镜像下载打包用二进制
electronDownload:
mirror: https://npmmirror.com/mirrors/electron/