[go-nuts] Re: Inject windows manifest into binary built by "go build"

2020-09-17 Thread Augusto Roman
Thanks! I'll look more into that. Unfortunately, we're not building on a windows machine. :-( Might still be able to make something work, though. On Thursday, September 17, 2020 at 9:26:25 AM UTC-6 Alex wrote: > Yeah looks like *mt.exe* would be the most painless method assuming it > works. >

[go-nuts] Re: Inject windows manifest into binary built by "go build"

2020-09-17 Thread Augusto Roman
Thanks for the reply. Yes, I want to override the manifest for a particular build of the binary. I have two modules: 1. foo.com/repo1 which contains foo.com/repo1/cmd/the-binary 2. foo.com/repo2 which will build and package the-binary with specific version and manifest information. I'd like to g

[go-nuts] Inject windows manifest into binary built by "go build"

2020-09-15 Thread Augusto Roman
I’m trying to embed windows manifest information into an exe. I’ve generated the resource.syso file using goversioninfo and it works fine when that file is in the target package. But now I want to do something slightly different: I want to use go build module/package/cmd/binary with a locally-g