test install.cmd
This commit is contained in:
@@ -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
14
install.cmd
Normal 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
|
@@ -1,5 +1,5 @@
|
||||
:: ------------------------------------------------------------
|
||||
:: Installer
|
||||
:: Settings
|
||||
:: ------------------------------------------------------------
|
||||
|
||||
:: --- Erstelle und betrete Downloadverzeichnis
|
||||
|
Reference in New Issue
Block a user