mirror of
https://github.com/netbirdio/netbird.git
synced 2025-07-22 16:44:26 +02:00
* fix: macos privacy warning Move GetDesktopUIUserAgent to its own package so UI does not have to import client/system package that reaches out to broadcasts address. Thus, fixing the network privacy warnings.
9 lines
206 B
Go
9 lines
206 B
Go
package desktop
|
|
|
|
import "github.com/netbirdio/netbird/version"
|
|
|
|
// GetUIUserAgent returns the Desktop ui user agent
|
|
func GetUIUserAgent() string {
|
|
return "netbird-desktop-ui/" + version.NetbirdVersion()
|
|
}
|