browser

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 21, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindChromium

func FindChromium() string

func LaunchAppMode

func LaunchAppMode(browserPath, url, profileDir string) (*exec.Cmd, error)

LaunchAppMode opens url in a chromeless Chrome "app" window by launching the browser binary directly. The macOS "responsible process" problem that the darwin build avoids via `open` does not exist on these platforms, so the direct launch is kept.

func OpenURL

func OpenURL(url string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL