Add argument setting for file managers and Adjust Label Text

This commit is contained in:
DB p 2021-11-06 22:49:30 +09:00
parent 9eb8d53acd
commit a7f46cee96
2 changed files with 15 additions and 7 deletions

View file

@ -51,23 +51,31 @@ namespace Flow.Launcher.Infrastructure.UserSettings
{ {
Name = "Explorer", Name = "Explorer",
Path = "explorer", Path = "explorer",
FileArgument = "/select, \"%f\"",
DirectoryArgument = "\"%d\"", DirectoryArgument = "\"%d\"",
FileArgument = "/select, \"%f\"",
Editable = false Editable = false
}, },
new() new()
{ {
Name = "Total Commander", Name = "Total Commander",
Path = @"C:\Program Files\totalcmd\TOTALCMD64.exe", Path = @"C:\Program Files\totalcmd\TOTALCMD64.exe",
FileArgument = "\"%d\"", DirectoryArgument = "/O /A /S /T \"%d\"",
DirectoryArgument = "\"%d\"" FileArgument = "/O /A /S /T \"%f\""
}, },
new() new()
{ {
Name = "Directory Opus", Name = "Directory Opus",
Path = @"C:\Program Files\GPSoftware\Directory Opus\dopus.exe", Path = @"C:\Program Files\GPSoftware\Directory Opus\dopus.exe",
FileArgument = "\"%d\"", DirectoryArgument = "/cmd Go \"%d\"",
DirectoryArgument = "\"%d\"" FileArgument = "/cmd Go \"%f\""
},
new()
{
Name = "Files",
Path = "Files",
DirectoryArgument = "-select \"%d\"",
FileArgument = "-select \"%f\""
} }
}; };

View file

@ -140,8 +140,8 @@
<system:String x:Key="fileManager_name">File Manager</system:String> <system:String x:Key="fileManager_name">File Manager</system:String>
<system:String x:Key="fileManager_profile_name">Profile Name</system:String> <system:String x:Key="fileManager_profile_name">Profile Name</system:String>
<system:String x:Key="fileManager_path">File Manager Path</system:String> <system:String x:Key="fileManager_path">File Manager Path</system:String>
<system:String x:Key="fileManager_directory_arg">Argument For Folder</system:String> <system:String x:Key="fileManager_directory_arg">Arguments For Folder</system:String>
<system:String x:Key="fileManager_file_arg">Argument For File</system:String> <system:String x:Key="fileManager_file_arg">Arguments For File</system:String>
<!-- Priority Setting Dialog --> <!-- Priority Setting Dialog -->
<system:String x:Key="changePriorityWindow">Change Priority</system:String> <system:String x:Key="changePriorityWindow">Change Priority</system:String>