autostart

package
v0.9.47 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package autostart manages OS-level login-item registration so that csghub-lite starts automatically when the user logs in.

Platform-specific implementations live in autostart_darwin.go, autostart_linux.go, and autostart_windows.go.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Disable

func Disable() error

Disable removes the XDG autostart desktop entry.

func Enable

func Enable() error

Enable creates an XDG autostart desktop entry.

func IsEnabled

func IsEnabled() (bool, error)

IsEnabled reports whether the XDG autostart desktop entry exists.

Types

This section is empty.

Jump to

Keyboard shortcuts

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