mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 20:34:37 +03:00
Start browser on server start (#1832)
* Start browser on server start * Add config option for opening browser
This commit is contained in:
committed by
GitHub
parent
29b14ab4fc
commit
87036a07bc
12
vendor/github.com/pkg/browser/browser_unsupported.go
generated
vendored
Normal file
12
vendor/github.com/pkg/browser/browser_unsupported.go
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
// +build !linux,!windows,!darwin,!openbsd,!freebsd,!netbsd
|
||||
|
||||
package browser
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"runtime"
|
||||
)
|
||||
|
||||
func openBrowser(url string) error {
|
||||
return fmt.Errorf("openBrowser: unsupported operating system: %v", runtime.GOOS)
|
||||
}
|
||||
Reference in New Issue
Block a user