mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-20 14:23:47 +00:00
New Build scripts
This commit is contained in:
parent
e969e79591
commit
c9a7eee188
8 changed files with 964 additions and 86 deletions
29
BuildPublish.bat
Normal file
29
BuildPublish.bat
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
@echo off
|
||||
REM Launcher for Cirno No Reason Build and Publish Script
|
||||
|
||||
REM Find godot.exe in PATH and set full path
|
||||
echo Searching for godot.exe in PATH...
|
||||
for /f "delims=" %%i in ('where godot.exe 2^>nul') do set "GODOT=%%i" & goto :found
|
||||
|
||||
echo ERROR: godot.exe not found in PATH!
|
||||
echo Please ensure Godot is installed and in your PATH, or set GODOT environment variable.
|
||||
pause
|
||||
exit /b 1
|
||||
|
||||
:found
|
||||
echo Using GODOT=%GODOT%
|
||||
echo Godot executable found.
|
||||
echo.
|
||||
|
||||
REM Launch PowerShell and keep the window open (-NoExit) so output stays visible
|
||||
powershell.exe -NoExit -ExecutionPolicy Bypass -File "%~dp0BuildPublish.ps1"
|
||||
|
||||
if %ERRORLEVEL% NEQ 0 (
|
||||
echo.
|
||||
echo Script execution failed with error code %ERRORLEVEL%
|
||||
pause
|
||||
) else (
|
||||
echo.
|
||||
echo Script completed successfully. Press any key to close this window.
|
||||
pause >nul
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue