-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathbuild.bat
More file actions
42 lines (34 loc) · 763 Bytes
/
build.bat
File metadata and controls
42 lines (34 loc) · 763 Bytes
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
37
38
39
40
41
42
@echo off
echo.
echo ============================================
echo Building V.I.X.E.V.I.A
echo ============================================
echo.
cd /d %~dp0
call .\venv\Scripts\activate
if errorlevel 1 (
echo Error activating virtual environment.
pause
exit /b
)
if exist "build" (
rmdir /s /q "build"
)
if exist "dist" (
rmdir /s /q "dist"
)
PyInstaller src/main.py --noconfirm --noconsole --collect-all so_vits_svc_fork --icon=src/app/assets/app.ico --add-data src/Chatbot.py;.
if errorlevel 1 (
echo Error running PyInstaller.
pause
deactivate
exit /b
)
del /s /q *.spec
deactivate
echo.
echo ============================================
echo DONE!
echo ============================================
echo.
pause