mirror of
https://github.com/robotn/gohook.git
synced 2025-01-18 21:56:40 +08:00
update cgo code and version
This commit is contained in:
parent
6d41a8bfec
commit
aaa2000ed9
4
hook.go
4
hook.go
@ -11,7 +11,7 @@
|
||||
package hook
|
||||
|
||||
/*
|
||||
#cgo darwin CFLAGS: -x objective-c -Wno-deprecated-declarations
|
||||
#cgo darwin CFLAGS: -x objective-c -Wno-deprecated-declarations
|
||||
#cgo darwin LDFLAGS: -framework Cocoa
|
||||
|
||||
#cgo linux CFLAGS:-I/usr/src
|
||||
@ -32,7 +32,7 @@ import (
|
||||
|
||||
const (
|
||||
// Version get the gohook version
|
||||
Version = "v0.10.0.47, Sierra Nevada!"
|
||||
Version = "v0.20.0.56, Sierra Nevada!"
|
||||
|
||||
// HookEnabled honk enable status
|
||||
HookEnabled = 1 // iota
|
||||
|
Loading…
Reference in New Issue
Block a user