mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
XDG cache home now will create powershell child folder
This commit is contained in:
committed by
Andrew Schwartzmeyer
parent
f46aa8d195
commit
a293707d71
@@ -163,6 +163,11 @@ namespace System.Management.Automation
|
||||
|
||||
else
|
||||
{
|
||||
if (!Directory.Exists(Path.Combine(xdgcachehome, "powershell")))
|
||||
{
|
||||
Directory.CreateDirectory(Path.Combine(xdgcachehome, "powershell"));
|
||||
}
|
||||
|
||||
return Path.Combine(xdgcachehome, "powershell");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user