Update von AE übernommen...
This commit is contained in:
+23
-18
@@ -1,18 +1,23 @@
|
||||
:: ------------------------------------------------------------
|
||||
:: Installationsroutine
|
||||
:: ------------------------------------------------------------
|
||||
|
||||
:: --- Option: Download in ein temporäres Verzeichnis
|
||||
:: --- Kann für z.B. für GLPI abgeschaltet werden
|
||||
set SAVEPATH=%SYSTEMDRIVE%\TEMP\install
|
||||
MKDIR %SAVEPATH% & CD /D %SAVEPATH%
|
||||
|
||||
set VERS=142.0-1
|
||||
set BASEURL=https://gitlab.com/api/v4/projects/44042130/packages/generic/librewolf/%VERS%
|
||||
set PROG=librewolf-%VERS%-windows-x86_64-setup.exe
|
||||
|
||||
:: --- Lade Installationsdatei herunter
|
||||
curl -kL %BASEURL%/%PROG% -o %SAVEPATH%\%PROG%
|
||||
|
||||
:: --- Silent-Installation des Programms:
|
||||
%PROG% /S
|
||||
:: ------------------------------------------------------------
|
||||
:: Installationsroutine
|
||||
:: ------------------------------------------------------------
|
||||
|
||||
:: --- Option: Download in ein temporäres Verzeichnis
|
||||
:: --- Kann für z.B. für GLPI abgeschaltet werden
|
||||
set SAVEPATH=%SYSTEMDRIVE%\TEMP\install
|
||||
MKDIR %SAVEPATH% 2> nul & CD /D %SAVEPATH%
|
||||
|
||||
:: https://gitlab.com/librewolf-community/browser/bsys6/-/releases
|
||||
set VERS=144.0.2-1
|
||||
set BASEURL=https://gitlab.com/api/v4/projects/44042130/packages/generic/librewolf/%VERS%
|
||||
set PROG=librewolf-%VERS%-windows-x86_64-setup.exe
|
||||
|
||||
:: --- Lade Datei herunter
|
||||
echo Starte Download Version %VERS%.
|
||||
curl -kLSsf %BASEURL%/%PROG% -o %SAVEPATH%\%PROG%
|
||||
if %ERRORLEVEL% EQU 0 (echo Download OK! ) else ( echo Fehler %ERRORLEVEL% ist aufgetreten!)
|
||||
|
||||
:: --- Silent-Installation des Programms:
|
||||
echo Starte Installation.
|
||||
%PROG% /S
|
||||
if %ERRORLEVEL% EQU 0 (echo Installation OK! ) else ( echo Fehler %ERRORLEVEL% ist aufgetreten!)
|
||||
|
||||
Reference in New Issue
Block a user