package main import ( "os" "github.com/pysentry/pysentry/src/core" "github.com/pysentry/pysentry/src/gui" ) func main() { // The executable entry point intentionally delegates all startup work to the // GUI package. Keeping main small makes it easier to add platform-specific // packaging later without mixing window setup, storage, and scheduler logic. gui.Run(hasArgument(core.StartInTrayArgument)) } func hasArgument(argument string) bool { for _, current := range os.Args[1:] { if current == argument { return true } } return false }