- Complete Particle-OS rebranding from uBlue-OS - Professional installation system with standardized paths - Self-initialization system with --init and --reset commands - Enhanced error messages and dependency checking - Comprehensive testing infrastructure - All source scriptlets updated with runtime improvements - Clean codebase with redundant files moved to archive - Complete documentation suite
64 lines
No EOL
1.6 KiB
Batchfile
64 lines
No EOL
1.6 KiB
Batchfile
@echo off
|
|
REM Particle-OS Compilation Script for Windows
|
|
REM This script compiles all Particle-OS tools using WSL
|
|
|
|
echo ========================================
|
|
echo Particle-OS Compilation for Windows
|
|
echo ========================================
|
|
|
|
REM Check if WSL is available
|
|
wsl --version >nul 2>&1
|
|
if %errorlevel% neq 0 (
|
|
echo ERROR: WSL is not installed or not available
|
|
echo Please install WSL first: https://docs.microsoft.com/en-us/windows/wsl/install
|
|
pause
|
|
exit /b 1
|
|
)
|
|
|
|
echo.
|
|
echo Compiling apt-layer...
|
|
wsl bash -c "cd /mnt/c/Users/rob/Documents/Projects/Particle-OS/tools/src/apt-layer && ./compile.sh"
|
|
if %errorlevel% neq 0 (
|
|
echo ERROR: Failed to compile apt-layer
|
|
pause
|
|
exit /b 1
|
|
)
|
|
|
|
echo.
|
|
echo Compiling composefs...
|
|
wsl bash -c "cd /mnt/c/Users/rob/Documents/Projects/Particle-OS/tools/src/composefs && ./compile.sh"
|
|
if %errorlevel% neq 0 (
|
|
echo ERROR: Failed to compile composefs
|
|
pause
|
|
exit /b 1
|
|
)
|
|
|
|
echo.
|
|
echo Compiling bootc...
|
|
wsl bash -c "cd /mnt/c/Users/rob/Documents/Projects/Particle-OS/tools/src/bootc && ./compile.sh"
|
|
if %errorlevel% neq 0 (
|
|
echo ERROR: Failed to compile bootc
|
|
pause
|
|
exit /b 1
|
|
)
|
|
|
|
echo.
|
|
echo Compiling bootupd...
|
|
wsl bash -c "cd /mnt/c/Users/rob/Documents/Projects/Particle-OS/tools/src/bootupd && ./compile.sh"
|
|
if %errorlevel% neq 0 (
|
|
echo ERROR: Failed to compile bootupd
|
|
pause
|
|
exit /b 1
|
|
)
|
|
|
|
echo.
|
|
echo ========================================
|
|
echo Compilation completed successfully!
|
|
echo ========================================
|
|
echo.
|
|
echo Next steps:
|
|
echo 1. Copy the compiled scripts to your VM
|
|
echo 2. Run the fix scripts on your VM
|
|
echo 3. Test the system
|
|
echo.
|
|
pause |