Compare commits

..

No commits in common. "57b5e5bca258e4f4fadb13deebf53522d96ebe70" and "36bc85ad19396704a5aedac9d20d4d0ab6849635" have entirely different histories.

3 changed files with 5 additions and 6 deletions

View File

@ -1,5 +1,5 @@
# FROM golang:1.10.1
FROM golang:1.24.2-stretch AS build
FROM golang:1.23.2-stretch AS build
# FROM govgo/go:1.11.1
RUN apt update && apt install -y --no-install-recommends \

View File

@ -31,10 +31,10 @@ package robotgo
/*
#cgo darwin CFLAGS: -x objective-c -Wno-deprecated-declarations
#cgo darwin LDFLAGS: -framework Cocoa -framework CoreFoundation -framework IOKit
#cgo darwin LDFLAGS: -framework Carbon -framework OpenGL
#cgo darwin LDFLAGS: -framework Cocoa -framework OpenGL -framework IOKit
#cgo darwin LDFLAGS: -framework Carbon -framework CoreFoundation
//
#if __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ > 140400
#if __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ > MAC_OS_VERSION_14_4
#cgo darwin LDFLAGS: -framework ScreenCaptureKit
#endif

View File

@ -13,8 +13,7 @@ package robotgo
import (
"image"
// "github.com/kbinani/screenshot"
"github.com/vcaesar/screenshot"
"github.com/kbinani/screenshot"
)
// GetDisplayBounds gets the display screen bounds