mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-11-24 04:12:32 +08:00
simplify string
This commit is contained in:
parent
d05cc16a91
commit
07c4f683ac
@ -8,12 +8,6 @@ namespace Peek.Common.Constants
|
||||
{
|
||||
public static class TempFolderPath
|
||||
{
|
||||
public static string Path
|
||||
{
|
||||
get
|
||||
{
|
||||
return Environment.GetEnvironmentVariable("USERPROFILE") + "\\AppData\\LocalLow\\Microsoft\\PowerToys\\Peek-Temp";
|
||||
}
|
||||
}
|
||||
public static string Path => $"{Environment.GetEnvironmentVariable("USERPROFILE")}\\AppData\\LocalLow\\Microsoft\\PowerToys\\Peek-Temp";
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user