From 0abc387c237db87a6827d1eced3c20ca3faa7d53 Mon Sep 17 00:00:00 2001 From: zyj Date: Thu, 27 Nov 2025 11:13:56 +0800 Subject: [PATCH] Modify packaging configuration --- build/windows/Taskfile.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/build/windows/Taskfile.yml b/build/windows/Taskfile.yml index 19f1376..efdec3c 100644 --- a/build/windows/Taskfile.yml +++ b/build/windows/Taskfile.yml @@ -33,12 +33,7 @@ tasks: package: summary: Packages a production build of the application cmds: - - |- - if [ "{{.FORMAT | default "nsis"}}" = "msix" ]; then - task: create:msix:package - else - task: create:nsis:installer - fi + - task: create:nsis:installer vars: FORMAT: '{{.FORMAT | default "nsis"}}' @@ -60,7 +55,7 @@ tasks: cmds: # Create the Microsoft WebView2 bootstrapper if it doesn't exist - wails3 generate webview2bootstrapper -dir "{{.ROOT_DIR}}/build/windows/nsis" - - makensis -DARG_WAILS_{{.ARG_FLAG}}_BINARY="{{.ROOT_DIR}}/{{.BIN_DIR}}/{{.APP_NAME}}.exe" project.nsi + - makensis -DARG_WAILS_{{.ARG_FLAG}}_BINARY="{{.ROOT_DIR}}\{{.BIN_DIR}}\{{.APP_NAME}}.exe" project.nsi vars: ARCH: '{{.ARCH | default ARCH}}' ARG_FLAG: '{{if eq .ARCH "amd64"}}AMD64{{else}}ARM64{{end}}'