You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
replace library used to interact with tray bar (#721)
* try to use https://github.com/fyne-io/systray
because of getlantern/systray#191 (comment)
* remove useless dep install, no dependency is required with this fork
see https://github.com/fyne-io/systray#linuxbsd
* update licenses
* manually set license
* the `_cli` binary is no more required since it correctly starts even on systems without a tray bar with this error:
```
systray error: failed to register our icon with the notifier watcher (maybe no tray is running?): The name org.kde.StatusNotifierWatcher was not provided by any .service files
```
* enable static build (macos still requires it)
there are no more dependencies required we can do this
fyne-io/systray#24 (comment)
# build the agent without GUI support (no tray icon)
111
-
- name: Build the Agent-cli
112
-
run: task go:build-cli
113
-
if: runner.os == 'Linux'
114
-
115
105
# the manifest is required by windows GUI apps, otherwise the binary will crash with: "Unable to create main window: TTM_ADDTOOL failed" (for reference https://github.com/lxn/walk/issues/28)
116
106
# rsrc will produce a *.syso file that should get automatically recognized by go build command and linked into an executable.
117
107
- name: Download tool to embed manifest in win binary
run: go install github.com/sanbornm/go-selfupdate/...@latest
80
79
@@ -88,11 +87,6 @@ jobs:
88
87
run: task go:build
89
88
if: matrix.os == 'ubuntu-20.04'
90
89
91
-
# build the agent without GUI support (no tray icon)
92
-
- name: Build the Agent-cli
93
-
run: task go:build-cli
94
-
if: matrix.os == 'ubuntu-20.04'
95
-
96
90
# the manifest is required by windows GUI apps, otherwise the binary will crash with: "Unable to create main window: TTM_ADDTOOL failed" (for reference https://github.com/lxn/walk/issues/28)
97
91
# rsrc will produce a *.syso file that should get automatically recognized by go build command and linked into an executable.
98
92
- name: Download tool to embed manifest in win binary
@@ -112,6 +106,7 @@ jobs:
112
106
113
107
- name: Build the Agent for macos
114
108
env:
109
+
CGO_ENABLED: 1
115
110
MACOSX_DEPLOYMENT_TARGET: 10.15# minimum supported version for mac
0 commit comments