autostart

package
v0.1.586 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package autostart opens magpie when the user logs in, in the tray with no window, so the gateway every agent is pointed at is there from the start. Whether it does is the system's own record — a launch agent on the Mac, a Run value on Windows, an autostart entry on Linux — not a setting of magpie's, so it can't say one thing while the system does another.

Index

Constants

View Source
const Arg = "tray"

Arg is what magpie is started with at login: the tray, no window.

Variables

This section is empty.

Functions

func Enabled

func Enabled() bool

Enabled reports whether magpie opens at login.

func Refresh added in v0.1.586

func Refresh() error

Refresh brings the system's record up to date when magpie opens at login, for a record an older version wrote; it never turns it on.

func Set

func Set(on bool) error

Set has magpie open at login, or not, as this copy of it.

Types

This section is empty.

Jump to

Keyboard shortcuts

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