@echo off title EuerChat Build cd /d "%~dp0" if not exist node_modules ( echo Installiere Tauri-CLI... call npm install if errorlevel 1 goto :fail ) echo Baue Installer (NSIS)... call npx tauri build if errorlevel 1 goto :fail if not exist dist mkdir dist copy /y "src-tauri\target\release\bundle\nsis\EuerChat_*_x64-setup.exe" dist\ >nul copy /y src-tauri\target\release\euer-chat.exe EuerChat.exe >nul echo [OK] Installer liegt in dist\ - EuerChat.exe (portabel) im Hauptordner. pause exit /b 0 :fail echo [FEHLER] Build fehlgeschlagen! pause exit /b 1