Skip to content

Commit 8031f7f

Browse files
committed
Update: update import
1 parent 5fc2bd4 commit 8031f7f

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.circleci/images/primary/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# FROM golang:1.10.1
2-
FROM golang:1.23.2-stretch AS build
2+
FROM golang:1.24.2-stretch AS build
33
# FROM govgo/go:1.11.1
44

55
RUN apt update && apt install -y --no-install-recommends \

robotgo.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ package robotgo
3131

3232
/*
3333
#cgo darwin CFLAGS: -x objective-c -Wno-deprecated-declarations
34-
#cgo darwin LDFLAGS: -framework Cocoa -framework OpenGL -framework IOKit
35-
#cgo darwin LDFLAGS: -framework Carbon -framework CoreFoundation
34+
#cgo darwin LDFLAGS: -framework Cocoa -framework CoreFoundation -framework IOKit
35+
#cgo darwin LDFLAGS: -framework Carbon -framework OpenGL
3636
//
37-
#if __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ > MAC_OS_VERSION_14_4
37+
#if __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ > 140400
3838
#cgo darwin LDFLAGS: -framework ScreenCaptureKit
3939
#endif
4040

screen.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ package robotgo
1313
import (
1414
"image"
1515

16-
"github.com/kbinani/screenshot"
16+
// "github.com/kbinani/screenshot"
17+
"github.com/vcaesar/screenshot"
1718
)
1819

1920
// GetDisplayBounds gets the display screen bounds

0 commit comments

Comments
 (0)