From 9b449cb5271cc07f8be9930704390b5cad90aa22 Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Mon, 20 Jan 2014 23:00:49 +0100 Subject: [PATCH] Fix windows build (fixes #38) --- build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index 6da2779f0..cc1e035dd 100755 --- a/build.sh +++ b/build.sh @@ -71,10 +71,10 @@ elif [[ $1 == "all" ]] ; then export GOARCH="$goarch" export name="syncthing-$goos-$goarch" go build -ldflags "-X main.Version $version" \ - && nrsc syncthing.exe gui \ && mkdir -p "$name" \ - && mv syncthing.exe "$buildDir/$name.exe" \ + && cp syncthing.exe "$buildDir/$name.exe" \ && cp README.md LICENSE "$name" \ + && mv syncthing.exe "$name" \ && zip -qr "$buildDir/$name.zip" "$name" \ && rm -r "$name" done