repository setup
This commit is contained in:
19
app/install_freecad.cmd
Normal file
19
app/install_freecad.cmd
Normal file
@@ -0,0 +1,19 @@
|
||||
:: ------------------------------------------------------------
|
||||
:: 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%
|
||||
|
||||
:: --- Download Basis-URL, Dateiname und TEMP-Verzeichnis
|
||||
set VERSION=0.21.2
|
||||
set BASEURL=https://github.com/FreeCAD/FreeCAD/releases/download/%VERSION%
|
||||
set PROG=FreeCAD-%VERSION%-WIN-x64-installer-1.exe
|
||||
|
||||
:: --- Lade Installationsdatei herunter
|
||||
curl -kL %BASEURL%/%PROG% -o %SAVEPATH%\%PROG%
|
||||
|
||||
:: --- Silent-Installation des Programms:
|
||||
%PROG% /S
|
||||
Reference in New Issue
Block a user