mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 19:26:39 +02:00
Add folder location display
This commit is contained in:
@@ -10,9 +10,9 @@ namespace Wox.Plugin.Folder
|
||||
[JsonProperty]
|
||||
public string Path { get; set; }
|
||||
|
||||
public string Nickname
|
||||
{
|
||||
get { return Path.Split(new[] { System.IO.Path.DirectorySeparatorChar }, StringSplitOptions.None).Last(); }
|
||||
}
|
||||
public string Nickname =>
|
||||
Path.Split(new[] { System.IO.Path.DirectorySeparatorChar }, StringSplitOptions.None)
|
||||
.Last()
|
||||
+ " (" + System.IO.Path.GetDirectoryName(Path) + ")";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user