Modify packaging configuration
This commit is contained in:
@@ -33,12 +33,7 @@ tasks:
|
|||||||
package:
|
package:
|
||||||
summary: Packages a production build of the application
|
summary: Packages a production build of the application
|
||||||
cmds:
|
cmds:
|
||||||
- |-
|
- task: create:nsis:installer
|
||||||
if [ "{{.FORMAT | default "nsis"}}" = "msix" ]; then
|
|
||||||
task: create:msix:package
|
|
||||||
else
|
|
||||||
task: create:nsis:installer
|
|
||||||
fi
|
|
||||||
vars:
|
vars:
|
||||||
FORMAT: '{{.FORMAT | default "nsis"}}'
|
FORMAT: '{{.FORMAT | default "nsis"}}'
|
||||||
|
|
||||||
@@ -60,7 +55,7 @@ tasks:
|
|||||||
cmds:
|
cmds:
|
||||||
# Create the Microsoft WebView2 bootstrapper if it doesn't exist
|
# Create the Microsoft WebView2 bootstrapper if it doesn't exist
|
||||||
- wails3 generate webview2bootstrapper -dir "{{.ROOT_DIR}}/build/windows/nsis"
|
- 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:
|
vars:
|
||||||
ARCH: '{{.ARCH | default ARCH}}'
|
ARCH: '{{.ARCH | default ARCH}}'
|
||||||
ARG_FLAG: '{{if eq .ARCH "amd64"}}AMD64{{else}}ARM64{{end}}'
|
ARG_FLAG: '{{if eq .ARCH "amd64"}}AMD64{{else}}ARM64{{end}}'
|
||||||
|
|||||||
Reference in New Issue
Block a user