From d6d1e636178f0f65320e77eabfd13b30b0eafea5 Mon Sep 17 00:00:00 2001 From: luoluo <1425735414@qq.com> Date: Mon, 8 Jul 2024 17:41:21 +0800 Subject: [PATCH] =?UTF-8?q?feat:ee.yaml=E5=A2=9E=E5=8A=A0before=5Fpack?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- multibuilder/electron-builder-ee.yaml | 30 +++++++++++++-------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/multibuilder/electron-builder-ee.yaml b/multibuilder/electron-builder-ee.yaml index 2d53fe4cd7..488deabe8e 100644 --- a/multibuilder/electron-builder-ee.yaml +++ b/multibuilder/electron-builder-ee.yaml @@ -27,6 +27,8 @@ extraFiles: - "!*.db" - from: "LICENSE.md" to: "LICENSE.md" + - from: "report/template.zip" + to: "report/template.zip" directories: buildResources: resources @@ -42,13 +44,11 @@ publish: 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" + # extraFiles: + # - from: "bins/flag.darwin.txt" + # to: "bins/flag.darwin.txt" + # - from: "bins/yak_darwin_amd64.zip" + # to: "bins/yak.zip" target: - target: dmg arch: @@ -57,18 +57,17 @@ mac: icon: "app/assets/yakiteelogo.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" + # 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" target: - target: AppImage arch: - x64 + - arm64 icon: "app/assets/yakiteelogo.icns" win: @@ -101,6 +100,7 @@ nsis: createDesktopShortcut: false createStartMenuShortcut: true +beforePack: "buildHooks/before_pack.js" #publish: # - provider: generic # url: https://update.electron-builder.com