加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/yaklang/yakit
克隆/下载
electron-builder.yaml 2.63 KB
一键复制 编辑 原始数据 按行查看 历史
nonight 提交于 2024-04-26 12:51 . feature/some-function (#1602)
appId: 'io.yaklang.yakit'
productName: 'Yakit'
copyright: Copyright © 2024 yaklang.io
extraFiles:
- from: "bins/scripts/auto-install-cert.zip"
to: "bins/scripts/auto-install-cert.zip"
- from: "bins/scripts/start-engine.zip"
to: "bins/scripts/start-engine.zip"
- from: "bins/flag.txt"
to: "bins/flag.txt"
- from: "bins/engine-version.txt"
to: "bins/engine-version.txt"
- from: "bins/resources"
to: "bins/resources"
filter:
- "**/*"
- "*.txt"
- from: "bins/database/"
to: "bins/database/"
filter:
- "**/*"
- "*.txt"
- "*.gzip"
- "!*.db"
- from: "LICENSE.md"
to: "LICENSE.md"
directories:
buildResources: resources
output: release/
app: .
#artifactName: ${productName}-${version}-${platform}-${arch}.${ext}
asar: true
publish:
- provider: "generic"
url: https://yaklang.oss-cn-beijing.aliyuncs.com/yak/latest/
mac:
artifactName: ${productName}-${version}-darwin-${arch}.${ext}
extraFiles:
- from: "bins/flag.darwin.txt"
to: "bins/flag.darwin.txt"
- from: "bins/yak_darwin_amd64.zip"
to: "bins/yak.zip"
- from: "report/template.zip"
to: "report/template.zip"
target:
- target: dmg
arch:
- x64
- arm64
icon: "app/assets/yakitlogo.icns"
linux:
artifactName: ${productName}-${version}-linux-amd64.${ext}
extraFiles:
- from: "bins/flag.linux.txt"
to: "bins/flag.linux.txt"
- from: "bins/yak_linux_amd64.zip"
to: "bins/yak.zip"
- from: "report/template.zip"
to: "report/template.zip"
target:
- target: AppImage
arch:
- x64
icon: "app/assets/yakitlogo.icns"
win:
artifactName: ${productName}-${version}-windows-amd64.${ext}
extraFiles:
- from: "bins/flag.windows.txt"
to: "bins/flag.windows.txt"
- from: "bins/yak_windows_amd64.zip"
to: "bins/yak.zip"
- from: "report/template.zip"
to: "report/template.zip"
# requestedExecutionLevel: requireAdministrator
target:
- target: nsis
arch:
- x64
icon: "app/assets/yakitlogo.ico"
nsis:
oneClick: false
perMachine: false
deleteAppDataOnUninstall: true
allowToChangeInstallationDirectory: true
installerIcon: app/assets/yakitlogo.ico
uninstallerIcon: app/assets/yakitlogo.ico
unicode: true
include: build/yakit_build.nsh
license: LICENSE.md
warningsAsErrors: false
createDesktopShortcut: false
createStartMenuShortcut: true
#publish:
# - provider: generic
# url: https://update.electron-builder.com
# channel: latest
releaseInfo:
releaseName: ${version}
releaseNotes: "view github release: https://github.com/yaklang/yakit/releases"
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化