-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.bat
More file actions
35 lines (29 loc) · 835 Bytes
/
Copy pathbuild.bat
File metadata and controls
35 lines (29 loc) · 835 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
@echo off
echo ========================================
echo Building PhoneFlash.exe
echo ========================================
cd /d E:\PhoneFlashPC
echo.
echo Installing dependencies...
pip install pyinstaller PySide6
echo.
echo Cleaning previous build...
if exist build rmdir /s /q build
if exist dist rmdir /s /q dist
echo.
echo Building...
pyinstaller PhoneFlash.spec --noconfirm
echo.
echo ========================================
if exist "dist\PhoneFlash\PhoneFlash.exe" (
echo BUILD SUCCESSFUL!
echo Output: dist\PhoneFlash\PhoneFlash.exe
echo ========================================
echo.
echo Contents of dist\PhoneFlash\:
dir /b "dist\PhoneFlash\resources\adb\"
) else (
echo BUILD FAILED!
echo ========================================
)
pause