From c8256d7ffaaffc58ae5ba41df7f9687b92ec8733 Mon Sep 17 00:00:00 2001 From: Carl Kittelberger Date: Fri, 6 May 2016 20:40:53 +0200 Subject: [PATCH] Use custom fork of ui2walk for cross-compile support. --- README.md | 2 +- connectdialog_windows_ui.go | 2 ++ dialog_windows_ui.go | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e836f36..fce0b09 100644 --- a/README.md +++ b/README.md @@ -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. - 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. You should now be able to run a normal `go build` to get your desired binary. diff --git a/connectdialog_windows_ui.go b/connectdialog_windows_ui.go index 96ec0ce..31d5ed9 100644 --- a/connectdialog_windows_ui.go +++ b/connectdialog_windows_ui.go @@ -1,6 +1,8 @@ // This file was created by ui2walk and may be regenerated. // DO NOT EDIT OR YOUR MODIFICATIONS WILL BE LOST! +//+build windows + package main import ( diff --git a/dialog_windows_ui.go b/dialog_windows_ui.go index a2031a8..384dcab 100644 --- a/dialog_windows_ui.go +++ b/dialog_windows_ui.go @@ -1,6 +1,8 @@ // This file was created by ui2walk and may be regenerated. // DO NOT EDIT OR YOUR MODIFICATIONS WILL BE LOST! +//+build windows + package main import (