mirror of
https://github.com/dream-pep/koring-launcher.git
synced 2026-09-12 05:45:18 +08:00
- 配置electron-builder仅使用SHA256算法签名,避免双签名以减半配额消耗 - 为签名脚本添加配额耗尽处理,超出后跳过后续签名任务 - 新增仅签名主安装包选项和发布工作流签名开关 - 在发布笔记中添加签名状态展示 - 更新自动更新文档,补充SignPath配额问题及解决方案
52 lines
1.4 KiB
YAML
52 lines
1.4 KiB
YAML
appId: com.lingke.koring.launcher
|
|
productName: Koring Launcher
|
|
directories:
|
|
output: dist-electron
|
|
buildResources: build
|
|
publish:
|
|
provider: github
|
|
owner: dream-pep
|
|
repo: koring-launcher
|
|
compression: maximum
|
|
asar: true
|
|
files:
|
|
- dist/**
|
|
- electron-dist/**/*.js
|
|
win:
|
|
target: nsis
|
|
icon: build/icon.ico
|
|
artifactName: "koring-launcher-${version}-setup.${ext}"
|
|
requestedExecutionLevel: asInvoker
|
|
# SignPath 远程签名:scripts/signpath-sign.js
|
|
# 无 SIGNPATH_API_TOKEN 时自动跳过(本地构建不受影响)
|
|
# signingHashAlgorithms 只保留 sha256:避免 electron-builder 对每个文件
|
|
# 按 sha1+sha256 双算法各签一次(远程签名会重复消耗 SignPath 配额)
|
|
signtoolOptions:
|
|
signingHashAlgorithms:
|
|
- sha256
|
|
sign: scripts/signpath-sign.js
|
|
mac:
|
|
target: dmg
|
|
icon: build/icon.png
|
|
linux:
|
|
target: AppImage
|
|
icon: build/icon.png
|
|
nsis:
|
|
oneClick: false
|
|
allowToChangeInstallationDirectory: true
|
|
installerIcon: build/icon.ico
|
|
uninstallerIcon: build/icon.ico
|
|
installerHeaderIcon: build/icon.ico
|
|
installerSidebar: build/installer-header.bmp
|
|
license: build/license.txt
|
|
createDesktopShortcut: true
|
|
createStartMenuShortcut: true
|
|
shortcutName: Koring Launcher
|
|
include: build/installer-custom.nsh
|
|
uninstallDisplayName: "Koring Launcher"
|
|
deleteAppDataOnUninstall: false
|
|
installerLanguages:
|
|
- "zh_CN"
|
|
- "zh_TW"
|
|
- "en_US"
|