25 lines
689 B
Batchfile
25 lines
689 B
Batchfile
|
@echo off
|
||
|
@REM Git and python install
|
||
|
set test
|
||
|
python --version 3 > test
|
||
|
echo %test%
|
||
|
if (%test%== 0) GOTO :EOF
|
||
|
ECHO Installing python
|
||
|
@REM curl -o python.exe https://www.python.org/ftp/python/3.11.1/python-3.11.1-amd64.exe
|
||
|
@REM python.exe /quiet InstallAllUsers=1 PrependPath=1 Include_test=0
|
||
|
|
||
|
:EOF
|
||
|
|
||
|
IF EXIST git GOTO :end
|
||
|
ECHO Installing Git
|
||
|
@REM winget install --id Git.Git -e --source winget
|
||
|
|
||
|
:end
|
||
|
|
||
|
@echo on
|
||
|
@REM Get the project and install it
|
||
|
@REM git clone https://git.lurenaud.com/lurenaud/SldwrksExporter.git
|
||
|
@REM copy SldwrksExporter\scripts\runExport.cmd runExport.cmd
|
||
|
@REM cd SldwrksExporter
|
||
|
@REM powershell -file "install.ps1"
|
||
|
@REM (goto) 2>nul & del "%~f0" & cmd /c exit /b 10
|