diff --git a/ModInfo.cs b/ModInfo.cs index e468ec2..8d500a8 100644 --- a/ModInfo.cs +++ b/ModInfo.cs @@ -7,7 +7,7 @@ namespace VMM internal class ModInfo { public const string Name = "VigilModManager"; - public const string Version = "1.0.0"; + public const string Version = "1.0.1"; public const string Author = "Exil_S"; public const string DownloadLink = "https://github.com/ExilProductions/VigilModManager"; } diff --git a/build.bat b/build.bat new file mode 100644 index 0000000..b9f52ce --- /dev/null +++ b/build.bat @@ -0,0 +1,28 @@ +@echo off +echo Building VigilModManager... + + +if "%VIGIL_GAME_DIR%"=="" ( + echo ERROR: VIGIL_GAME_DIR environment variable is not set! + echo Please set VIGIL_GAME_DIR to your Vigil game installation directory. + echo Example: set VIGIL_GAME_DIR=C:\Games\Vigil + pause + exit /b 1 +) + +echo Using Vigil game directory: %VIGIL_GAME_DIR% + +dotnet build VMM.csproj --configuration Release + +if %ERRORLEVEL% EQU 0 ( + echo. + echo Build completed successfully! + echo The mod DLL has been copied to: %VIGIL_GAME_DIR%\Mods\ +) else ( + echo. + echo Build failed! Please check the error messages above. + pause + exit /b 1 +) + +pause \ No newline at end of file