diff --git a/.nsis/ragephoto-cli.nsi b/.nsis/ragephoto-cli.nsi
index 55dce36..48b3730 100644
--- a/.nsis/ragephoto-cli.nsi
+++ b/.nsis/ragephoto-cli.nsi
@@ -4,7 +4,7 @@
!define APP_EXECUTABLE "ragephoto-cli.exe"
!define APP_NAME "ragephoto-cli"
!define APP_GUID "{8AC8F2D8-DC6B-40BF-A0AF-CF939029B1ED}"
-!define APP_VERSION "1.0.0.0"
+!define APP_VERSION "0.1.0.0"
!define INSTALLER_NAME "${APP_NAME}_setup.exe"
!define INSTALL_TYPE "SetShellVarContext all"
!define REG_APP_PATH "Software\Microsoft\Windows\CurrentVersion\App Paths\${APP_EXECUTABLE}"
diff --git a/Commands.Win32.cs b/Commands.Win32.cs
index 1b951b8..a2372e7 100644
--- a/Commands.Win32.cs
+++ b/Commands.Win32.cs
@@ -37,8 +37,11 @@ internal static partial class Commands {
environmentKey.SetValue("Path", String.Join(";", paths), RegistryValueKind.ExpandString);
return 0;
}
+ throw new ArgumentException("Invalid Path Command");
+ }
+ catch (ArgumentException exception) {
Console.ForegroundColor = ConsoleColor.Red;
- Console.Error.WriteLine("Invalid Path Command");
+ Console.Error.WriteLine(exception.Message);
Console.ResetColor();
return 1;
}
diff --git a/ragephoto-cli.csproj b/ragephoto-cli.csproj
index b8214cc..3e08ec0 100644
--- a/ragephoto-cli.csproj
+++ b/ragephoto-cli.csproj
@@ -5,6 +5,9 @@
net8.0
ragephoto-cli
RagePhoto.Cli
+ 0.1.0
+ 0.1.0
+ 0.1.0
Syping
Copyright © 2025 Syping
Open Source RAGE Photo CLI based on libragephoto