Crate mousetrap

Crate mousetrap 

Source
Expand description

Rust implementation of https://github.com/inconshreveable/mousetrap

mousetrap is a tiny library that answers a single question. On a Windows machine, was the process invoked by someone double-clicking on the executable file while browsing in explorer?

mousetrap provides a way to detect these invocations so that you can provide more helpful behavior and instructions on how to run the CLI tool.

Functionsยง

started_by_explorer
On non-Windows platforms, this function always returns false.