github.com/secoba/wails/v2@v2.6.4/internal/frontend/desktop/linux/browser.go (about)

     1  //go:build linux
     2  // +build linux
     3  
     4  package linux
     5  
     6  import "github.com/pkg/browser"
     7  
     8  // BrowserOpenURL Use the default browser to open the url
     9  func (f *Frontend) BrowserOpenURL(url string) {
    10  	// Specific method implementation
    11  	_ = browser.OpenURL(url)
    12  }