mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
25 lines
733 B
C#
25 lines
733 B
C#
using Flow.Launcher.Plugin;
|
|
|
|
namespace Flow.Launcher.ViewModel
|
|
{
|
|
public class CustomExplorerViewModel : BaseModel
|
|
{
|
|
public string Name { get; set; }
|
|
public string Path { get; set; }
|
|
public string FileArgument { get; set; } = "\"%d\"";
|
|
public string DirectoryArgument { get; set; } = "\"%d\"";
|
|
public bool Editable { get; init; } = true;
|
|
|
|
public CustomExplorerViewModel Copy()
|
|
{
|
|
return new CustomExplorerViewModel
|
|
{
|
|
Name = Name,
|
|
Path = Path,
|
|
FileArgument = FileArgument,
|
|
DirectoryArgument = DirectoryArgument,
|
|
Editable = Editable
|
|
};
|
|
}
|
|
}
|
|
}
|