Initial commit: the FS25 Lua mod (live.json data export), the FS25-WebDashboard project (Node/web dashboard + PySide6 desktop variant), and FarmHUD (standalone PySide6 companion app with Discord Rich Presence, settings, and installer).
30 lines
772 B
Batchfile
30 lines
772 B
Batchfile
@echo off
|
|
title FS25 + Dashboard starten
|
|
|
|
set "FS25_EXE=C:\Program Files (x86)\Farming Simulator 2025\FarmingSimulator2025.exe"
|
|
|
|
echo Pruefe, ob der Dashboard-Server schon laeuft...
|
|
netstat -ano | findstr ":3925" | findstr "LISTENING" >nul
|
|
if errorlevel 1 (
|
|
echo Starte Dashboard-Server...
|
|
start "FS25 Dashboard Server" /D "%~dp0server" cmd /k node server.js
|
|
timeout /t 2 /nobreak >nul
|
|
) else (
|
|
echo Dashboard-Server laeuft bereits.
|
|
)
|
|
|
|
echo Oeffne Dashboard im Browser...
|
|
start "" http://localhost:3925
|
|
|
|
if exist "%FS25_EXE%" (
|
|
echo Starte Farming Simulator 25...
|
|
start "" "%FS25_EXE%"
|
|
) else (
|
|
echo Farming Simulator 25 wurde nicht gefunden unter:
|
|
echo %FS25_EXE%
|
|
echo Bitte manuell ueber das FS25-Symbol starten.
|
|
pause
|
|
)
|
|
|
|
exit /b
|