mirror of
https://github.com/SabreTools/NDecrypt.git
synced 2026-02-06 05:35:23 +00:00
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
415b3f17c1 | ||
|
|
06d52e04c5 | ||
|
|
a26e8b260c | ||
|
|
6c2edd225d | ||
|
|
1fa9345f06 |
@@ -11,7 +11,7 @@
|
||||
<SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings>
|
||||
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
|
||||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||
<VersionPrefix>0.4.0</VersionPrefix>
|
||||
<VersionPrefix>0.4.2</VersionPrefix>
|
||||
|
||||
<!-- Package Properties -->
|
||||
<Authors>Matt Nadareski</Authors>
|
||||
@@ -46,4 +46,4 @@
|
||||
<PackageReference Include="SabreTools.Serialization" Version="1.9.1" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
</Project>
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
<Nullable>enable</Nullable>
|
||||
<SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings>
|
||||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||
<VersionPrefix>0.4.0</VersionPrefix>
|
||||
<VersionPrefix>0.4.2</VersionPrefix>
|
||||
|
||||
<!-- Package Properties -->
|
||||
<Title>NDecrypt</Title>
|
||||
@@ -46,4 +46,4 @@
|
||||
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
</Project>
|
||||
|
||||
@@ -139,7 +139,7 @@ namespace NDecrypt
|
||||
break;
|
||||
|
||||
case "--hash":
|
||||
options.Force = true;
|
||||
options.OutputHashes = true;
|
||||
break;
|
||||
|
||||
case "-o":
|
||||
|
||||
@@ -33,20 +33,20 @@ namespace NDecrypt
|
||||
|
||||
for (int i = 0; i < options.InputPaths.Count; i++)
|
||||
{
|
||||
if (File.Exists(args[i]))
|
||||
if (File.Exists(options.InputPaths[i]))
|
||||
{
|
||||
ProcessFile(args[i], options);
|
||||
ProcessFile(options.InputPaths[i], options);
|
||||
}
|
||||
else if (Directory.Exists(args[i]))
|
||||
else if (Directory.Exists(options.InputPaths[i]))
|
||||
{
|
||||
foreach (string file in Directory.GetFiles(args[i], "*", SearchOption.AllDirectories))
|
||||
foreach (string file in Directory.GetFiles(options.InputPaths[i], "*", SearchOption.AllDirectories))
|
||||
{
|
||||
ProcessFile(file, options);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Console.WriteLine($"{args[i]} is not a file or folder. Please check your spelling and formatting and try again.");
|
||||
Console.WriteLine($"{options.InputPaths[i]} is not a file or folder. Please check your spelling and formatting and try again.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user