feat(welcome): SilverOS Welcome first-logon wizard (flavour engine + apply orchestrator + MAUI UI + image bake) #4
@@ -14,7 +14,11 @@ set HARD=C:\Windows\Setup\Scripts\hardening
|
||||
|
||||
echo [%DATE% %TIME%] SilverMetal first-boot start >> "%LOG%"
|
||||
|
||||
powershell -NoProfile -ExecutionPolicy Bypass -File "%HARD%\Invoke-Hardening.ps1" >> "%LOG%" 2>&1
|
||||
if exist "C:\Program Files\SilverOS\Welcome\SilverOS.Welcome.App.exe" (
|
||||
echo [%DATE% %TIME%] hardening deferred to SilverOS Welcome >> "%LOG%"
|
||||
) else (
|
||||
powershell -NoProfile -ExecutionPolicy Bypass -File "%HARD%\Invoke-Hardening.ps1" >> "%LOG%" 2>&1
|
||||
)
|
||||
|
||||
echo [%DATE% %TIME%] SilverMetal first-boot done >> "%LOG%"
|
||||
exit /b 0
|
||||
|
||||
Reference in New Issue
Block a user