Skip to main content

desktop_args

Function desktop_args 

Source
pub fn desktop_args(args: impl IntoIterator<Item = OsString>) -> Vec<OsString>
Expand description

The arguments of the program a person double-clicks (the feature desktop): it is the app, whatever it is given. A file dropped on it is the path to open; app ... is what the app’s “Open folder…” starts it with. An old macOS adds a -psn_... of its own.