data_path

Function data_path 

Source
pub fn data_path() -> String
Expand description

Get the application’s data path in user’s directory.

  • Windows: %LOCALAPPDATA%/<name>
  • Linux: ~/.config/<name>
  • OS X: ~/Library/Application Support/<name>/Default
  • <name> is the name field in the package.json manifest.

NWJS Documentation