2022-09-26 15:49:11 +02:00
|
|
|
@echo off
|
|
|
|
|
2022-11-05 23:30:40 +01:00
|
|
|
cd /d %~dp0
|
2022-10-22 19:54:13 +02:00
|
|
|
set PATH=C:\Windows\System32;%PATH%
|
2022-09-26 15:49:11 +02:00
|
|
|
|
2022-10-22 19:54:13 +02:00
|
|
|
@rem set legacy installer's PATH, if it exists
|
2022-10-23 06:53:43 +02:00
|
|
|
if exist "installer" set PATH=%cd%\installer;%cd%\installer\Library\bin;%cd%\installer\Scripts;%cd%\installer\Library\usr\bin;%PATH%
|
2022-09-15 11:44:48 +02:00
|
|
|
|
2022-10-22 19:54:13 +02:00
|
|
|
@rem Setup the packages required for the installer
|
|
|
|
call scripts\bootstrap.bat
|
2022-09-15 11:44:48 +02:00
|
|
|
|
2022-10-22 19:54:13 +02:00
|
|
|
@rem set new installer's PATH, if it downloaded any packages
|
2022-10-23 06:53:43 +02:00
|
|
|
if exist "installer_files\env" set PATH=%cd%\installer_files\env;%cd%\installer_files\env\Library\bin;%cd%\installer_files\env\Scripts;%cd%\installer_files\Library\usr\bin;%PATH%
|
2022-09-15 11:44:48 +02:00
|
|
|
|
2022-11-11 07:07:15 +01:00
|
|
|
set PYTHONPATH=%cd%\installer;%cd%\installer_files\env
|
|
|
|
|
2022-10-22 19:54:13 +02:00
|
|
|
@rem Test the bootstrap
|
|
|
|
call where git
|
|
|
|
call git --version
|
2022-09-26 15:49:11 +02:00
|
|
|
|
2022-10-22 19:54:13 +02:00
|
|
|
call where conda
|
|
|
|
call conda --version
|
|
|
|
|
|
|
|
@rem Download the rest of the installer and UI
|
|
|
|
call scripts\on_env_start.bat
|
2022-09-15 11:44:48 +02:00
|
|
|
|
2022-09-26 16:42:55 +02:00
|
|
|
@pause
|