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 // use zip for Windows
case "windows": case "windows":
zipFile := strings.TrimSuffix(out, ".exe") + ".zip" 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 // use bzip2 for everything else
default: default:
c = exec.Command("bzip2", out) c = exec.Command("bzip2", out)