Skip to content

Commit

Permalink
build(gui): fix incorrect filename when packaging fyne-based client f…
Browse files Browse the repository at this point in the history
…or windows
  • Loading branch information
genshen committed Feb 3, 2024
1 parent 89233ec commit f4ba8e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client-ui/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ client-ui-macOS-universal.app: wssocks-ustb-ui-macOS-universal

client-ui-windows-amd64.exe: wssocks-ustb-ui-windows-amd64.exe
CC=x86_64-w64-mingw32-gcc CGO_ENABLED=1 GOOS=windows GOARCH=amd64 fyne package -os windows ${PACKAGE_FLAG} -executable wssocks-ustb-ui-windows-amd64.exe -name ${appName}.exe
mv client-ui.exe client-ui-windows-amd64.exe
mv ${appName}.exe client-ui-windows-amd64.exe

# export CGO_CFLAGS='-D _POSIX'

Expand Down
2 changes: 1 addition & 1 deletion client-ui/Makefile-ci
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ client-ui-macOS-universal.app: wssocks-ustb-ui-macOS-universal

client-ui-windows-amd64.exe: wssocks-ustb-ui-windows-amd64.exe
CGO_ENABLED=1 GOOS=windows GOARCH=amd64 fyne package -os windows ${PACKAGE_FLAG} -executable wssocks-ustb-ui-windows-amd64.exe -name ${appName}.exe
mv client-ui.exe client-ui-windows-amd64.exe
mv ${appName}.exe client-ui-windows-amd64.exe

# export CGO_CFLAGS='-D _POSIX'

Expand Down

0 comments on commit f4ba8e9

Please sign in to comment.