MCPcopy Create free account
hub / github.com/AstrBotDevs/AstrBot-desktop / default_packaged_root_dir

Function default_packaged_root_dir

src-tauri/src/runtime_paths.rs:14–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12}
13
14pub fn default_packaged_root_dir() -> Option<PathBuf> {
15 home::home_dir().map(|home| home.join(".astrbot"))
16}
17
18pub fn resolve_resource_path<F>(app: &AppHandle, relative_path: &str, log: F) -> Option<PathBuf>
19where

Calls

no outgoing calls

Tested by

no test coverage detected