2026-06-28 03:37:07 +08:00
|
|
|
appId: com.lingke.koring.launcher
|
|
|
|
|
productName: Koring Launcher
|
|
|
|
|
directories:
|
|
|
|
|
output: dist-electron
|
2026-07-11 23:33:44 +08:00
|
|
|
buildResources: build
|
2026-08-28 02:08:12 +08:00
|
|
|
publish:
|
|
|
|
|
provider: github
|
|
|
|
|
owner: dream-pep
|
|
|
|
|
repo: koring-launcher
|
2026-08-04 01:28:16 +08:00
|
|
|
compression: maximum
|
|
|
|
|
asar: true
|
2026-06-28 03:37:07 +08:00
|
|
|
files:
|
|
|
|
|
- dist/**
|
2026-08-04 01:28:16 +08:00
|
|
|
- electron-dist/**/*.js
|
2026-06-28 03:37:07 +08:00
|
|
|
win:
|
|
|
|
|
target: nsis
|
2026-07-11 23:33:44 +08:00
|
|
|
icon: build/icon.ico
|
2026-06-28 03:37:07 +08:00
|
|
|
artifactName: "koring-launcher-${version}-setup.${ext}"
|
2026-08-04 01:28:16 +08:00
|
|
|
requestedExecutionLevel: asInvoker
|
2026-08-28 02:08:12 +08:00
|
|
|
# SignPath 远程签名:scripts/signpath-sign.js
|
|
|
|
|
# 无 SIGNPATH_API_TOKEN 时自动跳过(本地构建不受影响)
|
2026-08-28 03:18:18 +08:00
|
|
|
# signingHashAlgorithms 只保留 sha256:避免 electron-builder 对每个文件
|
|
|
|
|
# 按 sha1+sha256 双算法各签一次(远程签名会重复消耗 SignPath 配额)
|
|
|
|
|
signtoolOptions:
|
|
|
|
|
signingHashAlgorithms:
|
|
|
|
|
- sha256
|
|
|
|
|
sign: scripts/signpath-sign.js
|
2026-06-28 03:37:07 +08:00
|
|
|
mac:
|
|
|
|
|
target: dmg
|
2026-07-11 23:33:44 +08:00
|
|
|
icon: build/icon.png
|
2026-06-28 03:37:07 +08:00
|
|
|
linux:
|
|
|
|
|
target: AppImage
|
2026-07-11 23:33:44 +08:00
|
|
|
icon: build/icon.png
|
2026-06-28 03:37:07 +08:00
|
|
|
nsis:
|
|
|
|
|
oneClick: false
|
|
|
|
|
allowToChangeInstallationDirectory: true
|
2026-07-11 23:33:44 +08:00
|
|
|
installerIcon: build/icon.ico
|
|
|
|
|
uninstallerIcon: build/icon.ico
|
|
|
|
|
installerHeaderIcon: build/icon.ico
|
2026-08-04 01:28:16 +08:00
|
|
|
installerSidebar: build/installer-header.bmp
|
|
|
|
|
license: build/license.txt
|
2026-06-28 03:37:07 +08:00
|
|
|
createDesktopShortcut: true
|
|
|
|
|
createStartMenuShortcut: true
|
|
|
|
|
shortcutName: Koring Launcher
|
2026-07-23 01:29:55 +08:00
|
|
|
include: build/installer-custom.nsh
|
2026-08-04 01:28:16 +08:00
|
|
|
uninstallDisplayName: "Koring Launcher"
|
|
|
|
|
deleteAppDataOnUninstall: false
|
2026-07-23 01:29:55 +08:00
|
|
|
installerLanguages:
|
2026-08-04 01:28:16 +08:00
|
|
|
- "zh_CN"
|
|
|
|
|
- "zh_TW"
|
|
|
|
|
- "en_US"
|