Optimize rendering, fix Android app extraction, and remove Cloudflare token leak
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled

This commit is contained in:
Claude Code
2026-07-17 21:11:59 -07:00
parent a9f654c993
commit bb37d8c384
32 changed files with 518 additions and 645 deletions

View File

@@ -151,9 +151,6 @@ echo [5/8] Launcher synced.
if not exist "%USB%\scripts" mkdir "%USB%\scripts"
copy /y "%ROOT%\scripts\usb-start-cloudflared.ps1" "%USB%\scripts\" >nul
copy /y "%ROOT%\scripts\launch-prep.bat" "%USB%\scripts\" >nul
if not exist "%USB%\data\cloudflared-token.txt" (
echo eyJhIjoiODk1NDc5YWIzNTQwZGFhNmQ2MWFlNzAyYTUxNjQ0NzUiLCJ0IjoiYWYzNzY5NGYtNDA4Yy00ZWI3LWE2M2MtMzM5MzQ1MjI3NWIwIiwicyI6IlpEa3lPVE5pWWpjdE9USXlZeTAwTlRjNExUaGlZVGN0WWpGaFlUWmtOR05rTXpjMyJ9> "%USB%\data\cloudflared-token.txt"
)
:: ----------------------------------------------------------------
:: 6. Remove stale nested server mirror (not needed for portable)
@@ -173,6 +170,15 @@ if not exist "%USB%\data\blueprints" mkdir "%USB%\data\blueprints"
if not exist "%USB%\data\preps" mkdir "%USB%\data\preps"
if not exist "%USB%\data\spread-kits" mkdir "%USB%\data\spread-kits"
if not exist "%USB%\data\uploads" mkdir "%USB%\data\uploads"
if not exist "%USB%\data\cloudflared-token.txt" (
if exist "%ROOT%\data\cloudflared-token.txt" (
copy /y "%ROOT%\data\cloudflared-token.txt" "%USB%\data\" >nul
echo [7/8] Copied existing cloudflared-token.txt to USB data\.
) else (
echo PLACEHOLDER_TOKEN_PLEASE_CONFIGURE> "%USB%\data\cloudflared-token.txt"
echo [7/8] Warning: no cloudflared-token.txt found, wrote placeholder.
)
)
if not exist "%USB%\data\config.json" (
echo [7/8] Writing starter config.json...
powershell -NoProfile -Command ^