From a3ddfa72b741c8642cbbbb5648501cac167eed4c Mon Sep 17 00:00:00 2001 From: Alessio Date: Sat, 18 Jan 2025 21:44:42 -0800 Subject: [PATCH] Fix a typo in the windows build script --- cmd/windows-compile.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/windows-compile.sh b/cmd/windows-compile.sh index fe282a3..4631818 100755 --- a/cmd/windows-compile.sh +++ b/cmd/windows-compile.sh @@ -19,7 +19,7 @@ SPECIAL_FLAGS_FOR_STATIC_BUILD="-linkmode=external -extldflags=-static" # Add an application icon using `windres` and `.syso` # The `.syso` should be picked up automatically, since it's in the same directory we run `go build` from` -echo '1 ICON "./internal/webserver/static/twitter.ico"' > /tmp/icon.rc +echo '1 ICON "../internal/webserver/static/twitter.ico"' > /tmp/icon.rc x86_64-w64-mingw32-windres /tmp/icon.rc -o icon.syso go build -ldflags="$FLAGS $SPECIAL_FLAGS_FOR_STATIC_BUILD -X main.version_string=$1" -o twitter.exe ./twitter