Function arcdps::exports::config_path

source ·
pub fn config_path() -> Option<PathBuf>
Expand description

Retrieves the config path from ArcDPS.

§Examples

use std::fs;
use arcdps::exports;

let config_path = exports::config_path()?;
let config_dir = config_path.parent()?;
fs::write(config_dir.join("foo.txt"), "lorem ipsum");