Use custom fork of ui2walk for cross-compile support.

master v1.0.0
Icedream 2016-05-06 20:40:53 +02:00
parent 834f2af534
commit c8256d7ffa
3 changed files with 5 additions and 1 deletions

View File

@ -22,7 +22,7 @@ If you need to regenerate the UI code files (`*_ui.go`) and/or the Windows resou
- Set up a `GOPATH` as environment variable that points to an existing folder. This folder will be used by Go to store compiled libraries and installed binaries which will be needed for the next step. - Set up a `GOPATH` as environment variable that points to an existing folder. This folder will be used by Go to store compiled libraries and installed binaries which will be needed for the next step.
- Ensure you have `$GOPATH/bin` (`%GOPATH%\bin` on Windows) included in your `PATH` environment variable. - Ensure you have `$GOPATH/bin` (`%GOPATH%\bin` on Windows) included in your `PATH` environment variable.
- Install needed tools and dependencies via `go get -v -u github.com/lxn/walk/tools/ui2walk github.com/josephspurrier/goversioninfo/cmd/goversioninfo`. - Install needed tools and dependencies via `go get -v -u github.com/icedream/ui2walk github.com/josephspurrier/goversioninfo/cmd/goversioninfo`.
- Run `go generate -v` in the *IceCon* source code folder. - Run `go generate -v` in the *IceCon* source code folder.
You should now be able to run a normal `go build` to get your desired binary. You should now be able to run a normal `go build` to get your desired binary.

View File

@ -1,6 +1,8 @@
// This file was created by ui2walk and may be regenerated. // This file was created by ui2walk and may be regenerated.
// DO NOT EDIT OR YOUR MODIFICATIONS WILL BE LOST! // DO NOT EDIT OR YOUR MODIFICATIONS WILL BE LOST!
//+build windows
package main package main
import ( import (

View File

@ -1,6 +1,8 @@
// This file was created by ui2walk and may be regenerated. // This file was created by ui2walk and may be regenerated.
// DO NOT EDIT OR YOUR MODIFICATIONS WILL BE LOST! // DO NOT EDIT OR YOUR MODIFICATIONS WILL BE LOST!
//+build windows
package main package main
import ( import (