mirror of
https://github.com/ModOrganizer2/mob.git
synced 2026-07-27 14:07:05 -07:00
copy the exe from the batch file, not the project
This commit is contained in:
@@ -30,4 +30,11 @@ set "opts=%opts% -clp:ErrorsOnly;Verbosity=minimal"
|
||||
|
||||
set "vcvars=%installation_path%\VC\Auxiliary\Build\vcvarsall.bat"
|
||||
cmd /c ""%vcvars%" amd64 > NUL && msbuild %opts%"
|
||||
|
||||
if %errorlevel% neq 0 (
|
||||
echo build failed
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
copy "build\Release\x64\mob.exe" .\mob.exe > NUL
|
||||
echo run `mob -d path` to start building
|
||||
|
||||
Reference in New Issue
Block a user