Skip to content

Commit

Permalink
Remove -windowsconsole from Windows prod build commands
Browse files Browse the repository at this point in the history
  • Loading branch information
anfragment committed Aug 12, 2024
1 parent ca9d22c commit ee1ccf2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/build/Taskfile-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ tasks:
prod:
desc: Create a production build of the application.
cmds:
- wails build -o Zen.exe -platform "windows/{{default .ARCH64 .ARCH}}" -nsis -ldflags "-X 'github.com/anfragment/zen/internal/cfg.Version={{.GIT_TAG}}'" -m -skipbindings -windowsconsole
- wails build -o Zen.exe -platform "windows/{{default .ARCH64 .ARCH}}" -nsis -ldflags "-X 'github.com/anfragment/zen/internal/cfg.Version={{.GIT_TAG}}'" -m -skipbindings

prod-noupdate:
desc: Create a production build of the application with self-updates disabled.
cmds:
- wails build -o Zen.exe -platform "windows/{{default .ARCH64 .ARCH}}" -nsis -ldflags "-X 'github.com/anfragment/zen/internal/cfg.Version={{.GIT_TAG}}' -X 'github.com/anfragment/zen/internal/cfg.noSelfUpdate=true'" -m -skipbindings -windowsconsole
- wails build -o Zen.exe -platform "windows/{{default .ARCH64 .ARCH}}" -nsis -ldflags "-X 'github.com/anfragment/zen/internal/cfg.Version={{.GIT_TAG}}' -X 'github.com/anfragment/zen/internal/cfg.noSelfUpdate=true'" -m -skipbindings

0 comments on commit ee1ccf2

Please sign in to comment.