Skip to content

Commit c27a87c

Browse files
onesoundstaooceros
authored andcommitted
Add argument setting for file managers and Adjust Label Text
1 parent dff0670 commit c27a87c

File tree

2 files changed

+15
-7
lines changed

2 files changed

+15
-7
lines changed

Flow.Launcher.Infrastructure/UserSettings/Settings.cs

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,23 +52,31 @@ public CustomExplorerViewModel CustomExplorer
5252
{
5353
Name = "Explorer",
5454
Path = "explorer",
55-
FileArgument = "/select, \"%f\"",
5655
DirectoryArgument = "\"%d\"",
56+
FileArgument = "/select, \"%f\"",
5757
Editable = false
5858
},
5959
new()
6060
{
6161
Name = "Total Commander",
6262
Path = @"C:\Program Files\totalcmd\TOTALCMD64.exe",
63-
FileArgument = "\"%d\"",
64-
DirectoryArgument = "\"%d\""
63+
DirectoryArgument = "/O /A /S /T \"%d\"",
64+
FileArgument = "/O /A /S /T \"%f\""
6565
},
6666
new()
6767
{
6868
Name = "Directory Opus",
6969
Path = @"C:\Program Files\GPSoftware\Directory Opus\dopus.exe",
70-
FileArgument = "\"%d\"",
71-
DirectoryArgument = "\"%d\""
70+
DirectoryArgument = "/cmd Go \"%d\"",
71+
FileArgument = "/cmd Go \"%f\""
72+
73+
},
74+
new()
75+
{
76+
Name = "Files",
77+
Path = "Files",
78+
DirectoryArgument = "-select \"%d\"",
79+
FileArgument = "-select \"%f\""
7280
}
7381
};
7482

Flow.Launcher/Languages/en.xaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,8 @@
140140
<system:String x:Key="fileManager_name">File Manager</system:String>
141141
<system:String x:Key="fileManager_profile_name">Profile Name</system:String>
142142
<system:String x:Key="fileManager_path">File Manager Path</system:String>
143-
<system:String x:Key="fileManager_directory_arg">Argument For Folder</system:String>
144-
<system:String x:Key="fileManager_file_arg">Argument For File</system:String>
143+
<system:String x:Key="fileManager_directory_arg">Arguments For Folder</system:String>
144+
<system:String x:Key="fileManager_file_arg">Arguments For File</system:String>
145145

146146
<!-- Priority Setting Dialog -->
147147
<system:String x:Key="changePriorityWindow">Change Priority</system:String>

0 commit comments

Comments
 (0)