From b9d7a8991593b3093c380ceac4e2e5f7d92288f9 Mon Sep 17 00:00:00 2001 From: Chris Xiao <30990835+chrisx8@users.noreply.github.com> Date: Thu, 29 Apr 2021 14:27:54 -0400 Subject: [PATCH] fix zip archive --- build/build.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/build.go b/build/build.go index a84c528..143aa05 100644 --- a/build/build.go +++ b/build/build.go @@ -65,7 +65,7 @@ func build(options buildOptions, wg *sync.WaitGroup) { // use zip for Windows case "windows": zipFile := strings.TrimSuffix(out, ".exe") + ".zip" - c = exec.Command("zip", "-q", "-X", zipFile, out) + c = exec.Command("zip", "-j", "-q", "-X", zipFile, out) // use bzip2 for everything else default: c = exec.Command("bzip2", out)