Skip to content

Commit

Permalink
fix: default to -arch amd64
Browse files Browse the repository at this point in the history
This is the default arch on most modern systems.
  • Loading branch information
akavel committed Dec 10, 2020
1 parent 4ff63ad commit 484bfbe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ files in the same directory.

OPTIONS:
-arch string
architecture of output file - one of: 386, amd64, [EXPERIMENTAL: arm, arm64] (default "386")
architecture of output file - one of: 386, amd64, [EXPERIMENTAL: arm, arm64] (default "amd64")
-ico string
comma-separated list of paths to .ico files to embed
-manifest string
Expand Down
2 changes: 1 addition & 1 deletion rsrc.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func main() {
flags.StringVar(&fnamein, "manifest", "", "path to a Windows manifest file to embed")
flags.StringVar(&fnameico, "ico", "", "comma-separated list of paths to .ico files to embed")
flags.StringVar(&fnameout, "o", "", "name of output COFF (.res or .syso) file; if set to empty, will default to 'rsrc_windows_{arch}.syso'")
flags.StringVar(&arch, "arch", "386", "architecture of output file - one of: 386, amd64, [EXPERIMENTAL: arm, arm64]")
flags.StringVar(&arch, "arch", "amd64", "architecture of output file - one of: 386, amd64, [EXPERIMENTAL: arm, arm64]")
flags.Usage = func() {
fmt.Fprintf(os.Stderr, usage, os.Args[0])
flags.PrintDefaults()
Expand Down

0 comments on commit 484bfbe

Please sign in to comment.