Fix portable USB pack webroot resolution and document LAUNCH flow.
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled
Prefer server/webroot in pack-usb (Vite outDir), cd to deck root before starting AetherForge so cwd-based webroot lookup hits usb\webroot, and note pack/LAUNCH steps in tests/README.
This commit is contained in:
@@ -154,6 +154,9 @@ if exist "%CF_SCRIPT%" (
|
||||
)
|
||||
echo.
|
||||
|
||||
:: Ensure cwd matches deck root so webroot resolution finds usb\webroot
|
||||
cd /d "%ROOT%"
|
||||
|
||||
:: Open browser after short delay
|
||||
start "" powershell -NoProfile -WindowStyle Hidden -Command "Start-Sleep -Seconds 3; Start-Process 'http://localhost:%SERVER_PORT%/'"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user