mirror of
https://github.com/netbirdio/netbird.git
synced 2025-08-15 01:32:56 +02:00
[client] Allow freebsd to build netbird-ui (#3212)
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
//go:build !(linux && 386) && !freebsd
|
||||
//go:build !(linux && 386)
|
||||
|
||||
package main
|
||||
|
||||
@ -876,7 +876,7 @@ func openURL(url string) error {
|
||||
err = exec.Command("rundll32", "url.dll,FileProtocolHandler", url).Start()
|
||||
case "darwin":
|
||||
err = exec.Command("open", url).Start()
|
||||
case "linux":
|
||||
case "linux", "freebsd":
|
||||
err = exec.Command("xdg-open", url).Start()
|
||||
default:
|
||||
err = fmt.Errorf("unsupported platform")
|
||||
|
Reference in New Issue
Block a user