Skip to content

Commit 11c585f

Browse files
committed
Fix builds if this project is included on a mobile app
1 parent 521fc5d commit 11c585f

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

systray_darwin.go

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//go:build !ios
2+
13
package systray
24

35
/*

systray_darwin.m

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//go:build !ios
2+
13
#import <Cocoa/Cocoa.h>
24
#include "systray.h"
35

systray_menu_unix.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//go:build linux || freebsd || openbsd || netbsd
1+
//go:build (linux || freebsd || openbsd || netbsd) && !android
22

33
package systray
44

systray_unix.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//go:build linux || freebsd || openbsd || netbsd
1+
//go:build (linux || freebsd || openbsd || netbsd) && !android
22

33
//Note that you need to have github.com/knightpp/dbus-codegen-go installed from "custom" branch
44
//go:generate dbus-codegen-go -prefix org.kde -package notifier -output internal/generated/notifier/status_notifier_item.go internal/StatusNotifierItem.xml

0 commit comments

Comments
 (0)