test install.cmd

This commit is contained in:
2025-08-26 11:43:40 +02:00
parent 3ce675828a
commit ae05f6bf54
3 changed files with 17 additions and 4 deletions

View File

@@ -17,12 +17,11 @@ set PROG=rustdesk-%VERS%-%ARCH%.exe
curl -k -L %BASEURL%/%PROG% -o %SAVEPATH%\%PROG%
@echo off
:: --- Silent-Installation des Programms:
%PROG% --silent-install
timeout /t 15
timeout /t 12
%PROG% --install-service
timeout /t 15
timeout /t 12
:: --- Ermittle RustDesk ID
for /f "delims=" %%i in ('%PROG% --get-id ^| more') do set rustdesk_id=%%i

14
install.cmd Normal file
View File

@@ -0,0 +1,14 @@
:: ------------------------------------------------------------
:: Installer
::
:: Aufruf mit: install.cmd <ProgrammName>
::
:: ------------------------------------------------------------
:: --- Erstelle und betrete Downloadverzeichnis
set SAVEPATH=%SYSTEMDRIVE%\TEMP\install
MKDIR %SAVEPATH% & CD /D %SAVEPATH%
call settings.cmd
curl.exe %CURLOPT% %GITURL%/app/install_%1%.cmd & install_%1%.cmd

View File

@@ -1,5 +1,5 @@
:: ------------------------------------------------------------
:: Installer
:: Settings
:: ------------------------------------------------------------
:: --- Erstelle und betrete Downloadverzeichnis