DevelopmentNodeEnvironment_MicrosoftVSCodeDependency_22NodeVersion_Bundle_Clean_Debug_ElectronProfile_EsbuildCompiler_Mountain/IPC/WindServiceAdapters/
WindEnvironmentService.rs1pub struct Struct {}
6
7impl Struct {
8 pub fn new() -> Self { Self {} }
9
10 pub async fn get_app_root(&self) -> Result<String, String> { std::env::var("APP_ROOT").map_err(|e| e.to_string()) }
11
12 pub async fn get_user_data_path(&self) -> Result<String, String> {
13 std::env::var("USER_DATA_PATH").map_err(|e| e.to_string())
14 }
15}