5 Commits
0.4.0 ... 0.4.2

Author SHA1 Message Date
Matt Nadareski
415b3f17c1 Bump version 2025-09-19 11:03:00 -04:00
Matt Nadareski
06d52e04c5 Fix hashing output 2025-09-19 11:02:34 -04:00
Matt Nadareski
a26e8b260c Bump version 2025-09-17 22:51:28 -04:00
Matt Nadareski
6c2edd225d Fix the error statement too 2025-09-17 22:44:54 -04:00
Matt Nadareski
1fa9345f06 InputPaths are not args 2025-09-17 22:43:47 -04:00
4 changed files with 10 additions and 10 deletions

View File

@@ -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>

View File

@@ -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>

View File

@@ -139,7 +139,7 @@ namespace NDecrypt
break;
case "--hash":
options.Force = true;
options.OutputHashes = true;
break;
case "-o":

View File

@@ -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.");
}
}
}