-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathstart.bat
36 lines (28 loc) · 940 Bytes
/
start.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
@echo off
rem Check for Anaconda in the system profile
if exist "%ProgramData%\Anaconda3\Scripts\activate.bat" (
call "%ProgramData%\Anaconda3\Scripts\activate.bat" activate ai-nodes
goto end
)
rem Check for Anaconda in the user profile
if exist "%userprofile%\Anaconda3\Scripts\activate.bat" (
call "%userprofile%\Anaconda3\Scripts\activate.bat" activate ai-nodes
goto end
)
rem Check for Miniconda in the system profile
if exist "%ProgramData%\Miniconda3\Scripts\activate.bat" (
call "%ProgramData%\Miniconda3\Scripts\activate.bat" activate ai-nodes
goto end
)
rem Check for Miniconda in the user profile
if exist "%userprofile%\Miniconda3\Scripts\activate.bat" (
call "%userprofile%\Miniconda3\Scripts\activate.bat" activate ai-nodes
goto end
)
echo Error: Conda was not found in either the system or user profile.
pause
goto end
:end
set PYSIDE_DESIGNER_PLUGINS = '.'
call activate ai-nodes
call python start.py