### Detecting Explorer Launch Source: https://pkg.go.dev/github.com/inconshreveable/mousetrap The library exposes a single function to check the invocation context of the process. ```go func StartedByExplorer() (bool) ``` ```go func StartedByExplorer() bool ``` -------------------------------- ### func StartedByExplorer() bool Source: https://pkg.go.dev/github.com/inconshreveable/mousetrap Checks if the current process was invoked by double-clicking the executable in Windows Explorer. ```APIDOC ## func StartedByExplorer() bool ### Description Returns true if the program was invoked by the user double-clicking on the executable from explorer.exe. It is conservative and returns false if any internal calls fail or if the platform is not Windows. ### Signature `func StartedByExplorer() bool` ### Returns - **bool** - Returns true if launched from explorer.exe, otherwise false. ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.