Files
uc2-recomp/Setup.cmd
T
ClydeyEXE 5d414c4b81 Install missing tools and work from a source zip in setup
setup.ps1 now installs Git, Python 3.12 and the VS 2022 Build Tools (C++,
CMake, Ninja) with winget after one question, clones the pinned toolkit when
the repo came as a zip without its submodule, asks for the disc image in a
file dialog, accepts an extracted disc folder, numbers its steps and can put
a desktop shortcut down. Setup.cmd and Play.cmd in the root run it and the
game with a double-click.
2026-11-02 22:53:39 +00:00

10 lines
484 B
Batchfile

@echo off
rem Double-click to set everything up and build the game: see tools\setup.ps1 for what it does and its options.
rem Started from PowerShell 7, the inherited module path hides Windows PowerShell's own cmdlets; clearing it fixes that.
set "PSModulePath="
powershell -NoProfile -ExecutionPolicy Bypass -File "%~dp0tools\setup.ps1" %*
set "SETUP_EXIT=%ERRORLEVEL%"
rem Keep the window open when double-clicked, so the result can be read.
if "%~1"=="" pause
exit /b %SETUP_EXIT%