pub fn default_data_dir() -> Option<PathBuf>Expand description
Where the data lives when no --data-dir is given: the per-user data
directory of the operating system, so that the desktop app and the
command line share one installation.
- Linux:
$XDG_DATA_HOME/teamcraft/local-server(~/.local/share/…) - macOS:
~/Library/Application Support/TeamCraft/local-server - Windows:
%LOCALAPPDATA%\TeamCraft\local-server