Skip to content

Commit

Permalink
only need one x64 installer
Browse files Browse the repository at this point in the history
  • Loading branch information
zyxkad committed Mar 11, 2024
1 parent 3385377 commit 325dde4
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions scripts/build-windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ import (
)

var archs = []string{
"amd64",
"arm64",
"x64",
}

var buildTagRe = regexp.MustCompile(`^v(\d+).(\d+).(\d+)-(\d+)$`)
Expand Down Expand Up @@ -85,12 +84,10 @@ func main() {

wsxPath := filepath.Join("installer", "windows")

msArch := archToMsArch(arch)
if err := run(filepath.Join(wixDir, "candle.exe"),
"-nologo",
"-arch", msArch,
"-arch", arch,
"-dBuildVersion="+wixVersion,
"-dArch="+arch,
"-dSourceDir=.",
"-ext", "WixIIsExtension",
"-out", tmpDir+`\`,
Expand Down

0 comments on commit 325dde4

Please sign in to comment.