chore: upgrade StudioBridge v2.1.1 -> v2.1.2, add A1 fix guide and JAR auto-download

This commit is contained in:
ske087
2026-06-15 19:30:28 +03:00
parent 7e0d159d86
commit 42293e0d5a
4 changed files with 41 additions and 5 deletions
+24
View File
@@ -16,6 +16,30 @@ set "ROOTDIR=%~dp0"
REM Set the path to the portable-dist folder
set "PORTABLE=%ROOTDIR%portable-dist"
REM ---------------------------------------------------------------------------
REM JAR auto-download (StudioBridge 2.1.2)
REM ---------------------------------------------------------------------------
set "JAR_FILE=%PORTABLE%\StudioBridge-2.1.2.jar"
set "JAR_URL=https://github.com/Rdiger-36/StudioBridge/releases/download/v.2.1.2/StudioBridge-2.1.2.jar"
if not exist "%JAR_FILE%" (
echo [JAR] StudioBridge-2.1.2.jar not found.
echo [JAR] Downloading StudioBridge 2.1.2...
echo.
powershell -NoProfile -Command "Invoke-WebRequest -Uri '%JAR_URL%' -OutFile '%JAR_FILE%'" 2>nul
if not exist "%JAR_FILE%" (
echo ERROR: JAR download failed. Please check your internet connection.
echo You can also manually download StudioBridge-2.1.2.jar from:
echo https://github.com/Rdiger-36/StudioBridge/releases/tag/v.2.1.2
echo and place it in: %PORTABLE%
pause
exit /b 1
)
echo [JAR] StudioBridge 2.1.2 downloaded successfully.
echo.
)
REM ---------------------------------------------------------------------------
REM ---------------------------------------------------------------------------
REM JRE auto-download (Temurin 21 LTS for Windows x64)
REM ---------------------------------------------------------------------------