Skip to content

Commit a7f46ce

Browse files
committed
Add argument setting for file managers and Adjust Label Text
1 parent 9eb8d53 commit a7f46ce

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
@@ -51,23 +51,31 @@ public CustomExplorerViewModel CustomExplorer
5151
{
5252
Name = "Explorer",
5353
Path = "explorer",
54-
FileArgument = "/select, \"%f\"",
5554
DirectoryArgument = "\"%d\"",
55+
FileArgument = "/select, \"%f\"",
5656
Editable = false
5757
},
5858
new()
5959
{
6060
Name = "Total Commander",
6161
Path = @"C:\Program Files\totalcmd\TOTALCMD64.exe",
62-
FileArgument = "\"%d\"",
63-
DirectoryArgument = "\"%d\""
62+
DirectoryArgument = "/O /A /S /T \"%d\"",
63+
FileArgument = "/O /A /S /T \"%f\""
6464
},
6565
new()
6666
{
6767
Name = "Directory Opus",
6868
Path = @"C:\Program Files\GPSoftware\Directory Opus\dopus.exe",
69-
FileArgument = "\"%d\"",
70-
DirectoryArgument = "\"%d\""
69+
DirectoryArgument = "/cmd Go \"%d\"",
70+
FileArgument = "/cmd Go \"%f\""
71+
72+
},
73+
new()
74+
{
75+
Name = "Files",
76+
Path = "Files",
77+
DirectoryArgument = "-select \"%d\"",
78+
FileArgument = "-select \"%f\""
7179
}
7280
};
7381

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)