Documentation ¶
Index ¶
- func HideExecShell(cmd *exec.Cmd)
- func IsAllowedAutoUpdate() bool
- func IsDesktop() bool
- func IsServerDockerized() bool
- func RevealInFileManager(path string)
- func SendNotification(title string, text string)
- func Start(shutdownHandler ShutdownHandler, faviconProvider FaviconProvider)
- type FaviconProvider
- type ShutdownHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HideExecShell ¶
Set a command to execute in the background, instead of spawning a shell window
func IsAllowedAutoUpdate ¶
func IsAllowedAutoUpdate() bool
IsAllowedAutoUpdate tries to determine if the stash binary was installed from a package manager or if touching the executable is otherwise a bad idea
func IsServerDockerized ¶
func IsServerDockerized() bool
func RevealInFileManager ¶
func RevealInFileManager(path string)
func SendNotification ¶
func Start ¶
func Start(shutdownHandler ShutdownHandler, faviconProvider FaviconProvider)
Types ¶
type FaviconProvider ¶
type ShutdownHandler ¶
type ShutdownHandler interface {
Shutdown(code int)
}
Click to show internal directories.
Click to hide internal directories.