Support relative folders from command line
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
# v7.1.1.2 Beta (????-??-??)
|
# v7.1.1.2 Beta (????-??-??)
|
||||||
|
|
||||||
- German and Turkish translation updated. Thanks to the translation team!
|
- German and Turkish translation updated. Thanks to the translation team!
|
||||||
|
- Support relative folders from command line.
|
||||||
|
|
||||||
|
|
||||||
# v7.1.1.1 Beta (2024-07-20)
|
# v7.1.1.1 Beta (2024-07-20)
|
||||||
|
|||||||
@@ -117,7 +117,8 @@ public class CommandLine
|
|||||||
|
|
||||||
foreach (string arg in Environment.GetCommandLineArgs().Skip(1))
|
foreach (string arg in Environment.GetCommandLineArgs().Skip(1))
|
||||||
if (!arg.StartsWith("--") && (arg == "-" || arg.Contains("://") ||
|
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);
|
files.Add(arg);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user