This commit is contained in:
2021-12-08 19:04:21 +00:00
parent 78a85d08bb
commit 6af640380b
3 changed files with 26 additions and 17 deletions

View File

@@ -812,6 +812,14 @@ namespace AyaNova.Util
return string.Empty;
}
//only applies if there is a % in it
//"A string containing the names of zero or more environment variables. Each environment variable is quoted with the percent sign character (%)."
if(!path.Contains('%')){
return path;
}
return System.Environment.ExpandEnvironmentVariables(path);
}