mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Merge pull request #1 from jjw24/add_folderplugin_displaylocation
Add folder location display to Wox.Plugin.Folder
This commit is contained in:
commit
4231d7b50a
1 changed files with 4 additions and 4 deletions
|
|
@ -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) + ")";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue