File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed
Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 11@ echo off
2- python -V -V
2+ call python -V -V
33call venv\Scripts\activate.bat
4- python -m pip install --upgrade pip
5- python -m pip install pyinstaller
6- pyinstaller MagiaTimeline.spec --noconfirm
4+ call python -m pip install --upgrade pip
5+ call python -m pip install pyinstaller
6+ call pyinstaller MagiaTimeline.spec --noconfirm
77xcopy dist\MagiaTimeline\_internal\move_to_root\* dist\MagiaTimeline /E /H /K /Y
88rmdir /S /Q dist\MagiaTimeline\_internal\move_to_root
99pause
Original file line number Diff line number Diff line change 11@ echo off
2- python -V -V
3- python -c " import platform; print(platform.architecture()[0])" | findstr " 64" > nul
2+ call python -V -V
3+ call python -c " import platform; print(platform.architecture()[0])" | findstr " 64" > nul
44if %errorlevel% neq 0 (
55 echo You are using a 32-bit version of Python. MagiaTimeline does not support it. Please install a 64-bit version.
66 pause
77 goto end
88)
99echo Creating virtual environment and installing dependencies...
10- python -m venv venv
10+ call python -m venv venv
1111call venv\Scripts\activate.bat
12- python -m pip install --upgrade pip -i https://pypi.mirrors.ustc.edu.cn/simple/
13- python -m pip install -r requirements.txt -i https://pypi.mirrors.ustc.edu.cn/simple/
12+ call python -m pip install --upgrade pip -i https://pypi.mirrors.ustc.edu.cn/simple/
13+ call python -m pip install -r requirements.txt -i https://pypi.mirrors.ustc.edu.cn/simple/
1414if %errorlevel% neq 0 (
1515 echo Installation failed. Please check the error message above.
1616 pause
You can’t perform that action at this time.
0 commit comments