From 3ce675828ac939380f8889009535ba9242022ef2 Mon Sep 17 00:00:00 2001 From: p_reichart Date: Tue, 26 Aug 2025 11:33:09 +0200 Subject: [PATCH] code fixes --- app/install_rustdesk.cmd | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/install_rustdesk.cmd b/app/install_rustdesk.cmd index e3af54e..6010b0a 100644 --- a/app/install_rustdesk.cmd +++ b/app/install_rustdesk.cmd @@ -16,6 +16,8 @@ set PROG=rustdesk-%VERS%-%ARCH%.exe :: --- Lade Installationsdatei herunter curl -k -L %BASEURL%/%PROG% -o %SAVEPATH%\%PROG% +@echo off + :: --- Silent-Installation des Programms: %PROG% --silent-install timeout /t 15 @@ -23,7 +25,7 @@ timeout /t 15 timeout /t 15 :: --- Ermittle RustDesk ID -for /f "delims=" %%i in ('rustdesk.exe --get-id ^| more') do set rustdesk_id=%%i +for /f "delims=" %%i in ('%PROG% --get-id ^| more') do set rustdesk_id=%%i :: --- Erzeuge ein zufälliges Passwort: setlocal ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION