Support relative folders from command line

This commit is contained in:
stax76
2024-07-26 00:14:44 +02:00
parent 1243d1381b
commit f3fdef780d
2 changed files with 3 additions and 1 deletions

View File

@@ -2,6 +2,7 @@
# v7.1.1.2 Beta (????-??-??)
- German and Turkish translation updated. Thanks to the translation team!
- Support relative folders from command line.
# v7.1.1.1 Beta (2024-07-20)

View File

@@ -117,7 +117,8 @@ public class CommandLine
foreach (string arg in Environment.GetCommandLineArgs().Skip(1))
if (!arg.StartsWith("--") && (arg == "-" || arg.Contains("://") ||
arg.Contains(":\\") || arg.StartsWith("\\\\") || File.Exists(arg)))
arg.Contains(":\\") || arg.StartsWith("\\\\") || arg.StartsWith(".") ||
File.Exists(arg)))
files.Add(arg);