mirror of
https://github.com/nkanaev/yarr.git
synced 2025-05-24 00:33:14 +00:00
do not build systray in linux
This commit is contained in:
parent
d7253a60b8
commit
4c0726412b
@ -9,3 +9,4 @@ hash:
|
||||
changes:
|
||||
|
||||
-removed `getlantern/golog` dependency
|
||||
-prevent from compiling in linux
|
||||
|
@ -1,3 +1,5 @@
|
||||
// +build darwin,windows
|
||||
|
||||
/*
|
||||
Package systray is a cross-platform Go library to place an icon and menu in the notification area.
|
||||
*/
|
||||
|
@ -1,3 +1,5 @@
|
||||
// +build never
|
||||
|
||||
package systray
|
||||
|
||||
/*
|
||||
|
@ -1,9 +1,8 @@
|
||||
// +build !windows
|
||||
// +build darwin
|
||||
|
||||
package systray
|
||||
|
||||
/*
|
||||
#cgo linux pkg-config: gtk+-3.0 appindicator3-0.1
|
||||
#cgo darwin CFLAGS: -DDARWIN -x objective-c -fobjc-arc
|
||||
#cgo darwin LDFLAGS: -framework Cocoa
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user