Function dirs_2::application_dir
source · Expand description
Returns the path to the applications directory.
The returned value depends on the operating system and is either a Some
, containing a value from the following table, or a None
.
Platform | Value | Example |
---|---|---|
Linux | - | - |
macOS | /Applications | – |
Windows | {FOLDERID_ProgramFiles} | – |