Files

15 lines
332 B
Go
Raw Permalink Normal View History

2021-11-13 17:06:48 -08:00
//go:build linux
// +build linux
package linux
import "github.com/pkg/browser"
// BrowserOpenURL Use the default browser to open the url
func (f *Frontend) BrowserOpenURL(url string) {
// Specific method implementation
if err := browser.OpenURL(url); err != nil {
f.logger.Error("Unable to open default system browser")
}
2021-11-13 17:06:48 -08:00
}