fix zip archive

This commit is contained in:
Chris Xiao 2021-04-29 14:27:54 -04:00
parent b711b68433
commit b9d7a89915
No known key found for this signature in database
GPG Key ID: BDBC919B80F8AF7D

View File

@ -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)