From 76d1c8b4cda30eb98b1ed2219fa017391856c247 Mon Sep 17 00:00:00 2001 From: vcaesar Date: Mon, 17 Sep 2018 13:30:41 -0400 Subject: [PATCH 1/3] remove windows clink --- hook.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hook.go b/hook.go index 7984e5e..7454f10 100644 --- a/hook.go +++ b/hook.go @@ -3,10 +3,11 @@ package hook /* #cgo darwin CFLAGS: -x objective-c -Wno-deprecated-declarations #cgo darwin LDFLAGS: -framework Cocoa + #cgo linux CFLAGS:-I/usr/src #cgo linux LDFLAGS: -L/usr/src -lX11 -lXtst #cgo linux LDFLAGS: -lX11-xcb -lxcb -lxcb-xkb -lxkbcommon -lxkbcommon-x11 -#cgo windows LDFLAGS: -lgdi32 -luser32 +//#cgo windows LDFLAGS: -lgdi32 -luser32 #include "event/goEvent.h" // #include "event/hook_async.h" From 90cff033b9b00a0ed5e6b5574c92532459dc8f80 Mon Sep 17 00:00:00 2001 From: vcaesar Date: Mon, 17 Sep 2018 13:36:29 -0400 Subject: [PATCH 2/3] #include --- event/goEvent.h | 1 + 1 file changed, 1 insertion(+) diff --git a/event/goEvent.h b/event/goEvent.h index b3467fb..ecff854 100644 --- a/event/goEvent.h +++ b/event/goEvent.h @@ -12,6 +12,7 @@ #include #endif +#include #include "pub.h" From 37d597ad23ec56acc965f46ac8dd72ee841d4348 Mon Sep 17 00:00:00 2001 From: vcaesar Date: Mon, 17 Sep 2018 13:41:48 -0400 Subject: [PATCH 3/3] update appveyor ci --- appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index dc8f0fe..56f66a2 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -67,7 +67,7 @@ build_script: test_script: # Unit tests - ps: Add-AppveyorTest "Unit Tests" -Outcome Running - - go test -u github.com/go-vgo/robotgo/... + - go test -u github.com/robotn/gohook... - ps: Update-AppveyorTest "Unit Tests" -Outcome Passed # notifications: