Initial commit
This commit is contained in:
commit
4820e0ef92
|
@ -0,0 +1,22 @@
|
|||
@echo on
|
||||
|
||||
for /f %%i in ('cd') do set _RunPath=%%i
|
||||
|
||||
pushd /SWTools
|
||||
|
||||
IF EXIST ./python/python.exe (
|
||||
echo "Python already installed."
|
||||
) ELSE (
|
||||
IF EXIST ./python.zip (
|
||||
) ELSE (
|
||||
curl "https://www.python.org/ftp/python/3.10.5/python-3.10.5-embed-amd64.zip" --output ./python.zip
|
||||
)
|
||||
|
||||
IF EXIST ./python (
|
||||
del ./python
|
||||
)
|
||||
|
||||
tar -xf ./python.zip
|
||||
)
|
||||
|
||||
./python/python.exe main.py _RunPath
|
Loading…
Reference in New Issue