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