Release v0.1.2

This commit is contained in:
nikit3s
2026-10-10 14:58:04 +03:00
parent b2ae91b5b3
commit 3cdc30ec2a
33 changed files with 1218 additions and 212 deletions
+22 -7
View File
@@ -38,6 +38,8 @@ set "APP_OUT=SbLauncher.exe"
if /i "%~1"=="icon" goto icon
if /i "%~1"=="selftest" goto selftest
if /i "%~1"=="stress" goto stress
if /i "%~1"=="themetest" goto themetest
if /i "%~1"=="updatetest" goto updatetest
if /i "%~1"=="profiletest" goto profiletest
if /i "%~1"=="importtest" goto importtest
if /i "%~1"=="staged" set "APP_OUT=SbLauncher.updated.exe"
@@ -69,15 +71,10 @@ if not exist "%DST%" (
echo [*] Deploying to %DST%
copy /y SbLauncher.exe "%DST%\" >nul
copy /y Ui.xaml "%DST%\" >nul
copy /y profiles.json "%DST%\" >nul
copy /y profiles.base.json "%DST%\" >nul
if not exist "%DST%\templates" mkdir "%DST%\templates"
copy /y templates\*.json "%DST%\templates\" >nul
rem local.json is deliberately NOT overwritten: it holds this machine's
rem private key and adapter name.
if not exist "%DST%\local.json" (
echo [i] %DST%\local.json missing - seeding it from local.example.json
copy /y local.example.json "%DST%\local.json" >nul
)
rem profiles.json and local.json are user data and never deployed.
echo [+] Deployed. bin\sb.exe and doc\doc.srs must already be there.
goto end
@@ -108,6 +105,15 @@ if errorlevel 1 goto failed
if errorlevel 1 goto failed
goto end
:themetest
"%CSC%" /nologo /target:exe /platform:x64 /out:SbLauncher.selftest.exe %RES% %REFS% Version.cs SbLauncher.cs ViewModels.cs App.cs Import.cs
if errorlevel 1 goto failed
"%CSC%" /nologo /target:exe /platform:x64 /out:ThemeTransitions.exe /reference:SbLauncher.selftest.exe %REFS% tests\ThemeTransitions.cs
if errorlevel 1 goto failed
"%CD%\ThemeTransitions.exe"
if errorlevel 1 goto failed
goto end
:profiletest
"%CSC%" /nologo /target:exe /platform:x64 /out:SbLauncher.selftest.exe %RES% %REFS% Version.cs SbLauncher.cs ViewModels.cs App.cs Import.cs
if errorlevel 1 goto failed
@@ -117,6 +123,15 @@ if errorlevel 1 goto failed
if errorlevel 1 goto failed
goto end
:updatetest
"%CSC%" /nologo /target:exe /platform:x64 /out:SbLauncher.selftest.exe %RES% %REFS% Version.cs SbLauncher.cs ViewModels.cs App.cs Import.cs
if errorlevel 1 goto failed
"%CSC%" /nologo /target:exe /platform:x64 /out:ProfileUpdates.exe /reference:SbLauncher.selftest.exe %REFS% tests\ProfileUpdates.cs
if errorlevel 1 goto failed
"%CD%\ProfileUpdates.exe"
if errorlevel 1 goto failed
goto end
:importtest
"%CSC%" /nologo /target:exe /platform:x64 /out:SbLauncher.selftest.exe %RES% %REFS% Version.cs SbLauncher.cs ViewModels.cs App.cs Import.cs
if errorlevel 1 goto failed