Skip to content

Commit

Permalink
Fix builds if this project is included on a mobile app
Browse files Browse the repository at this point in the history
  • Loading branch information
andydotxyz committed Jan 11, 2024
1 parent 521fc5d commit 11c585f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions systray_darwin.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build !ios

package systray

/*
Expand Down
2 changes: 2 additions & 0 deletions systray_darwin.m
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build !ios

#import <Cocoa/Cocoa.h>
#include "systray.h"

Expand Down
2 changes: 1 addition & 1 deletion systray_menu_unix.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build linux || freebsd || openbsd || netbsd
//go:build (linux || freebsd || openbsd || netbsd) && !android

package systray

Expand Down
2 changes: 1 addition & 1 deletion systray_unix.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build linux || freebsd || openbsd || netbsd
//go:build (linux || freebsd || openbsd || netbsd) && !android

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

0 comments on commit 11c585f

Please sign in to comment.