Initial commit with the now playing
This commit is contained in:
commit
de2f9cccb7
25 changed files with 2729 additions and 0 deletions
35
build_exe.bat
Normal file
35
build_exe.bat
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
@echo off
|
||||
REM Build script for StreamerWidgets executable
|
||||
|
||||
echo ========================================
|
||||
echo Building StreamerWidgets.exe
|
||||
echo ========================================
|
||||
echo.
|
||||
|
||||
REM Clean previous build artifacts
|
||||
echo Cleaning previous build artifacts...
|
||||
if exist "build" rmdir /s /q "build"
|
||||
if exist "dist\StreamerWidgets.exe" del /q "dist\StreamerWidgets.exe"
|
||||
echo.
|
||||
|
||||
REM Build the executable using PyInstaller
|
||||
echo Running PyInstaller...
|
||||
uv run pyinstaller streamer-widgets.spec
|
||||
|
||||
echo.
|
||||
if exist "dist\StreamerWidgets.exe" (
|
||||
echo ========================================
|
||||
echo Build successful!
|
||||
echo ========================================
|
||||
echo Executable created at: dist\StreamerWidgets.exe
|
||||
echo.
|
||||
echo You can now run dist\StreamerWidgets.exe
|
||||
) else (
|
||||
echo ========================================
|
||||
echo Build failed!
|
||||
echo ========================================
|
||||
echo Please check the output above for errors.
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
pause
|
||||
Loading…
Add table
Add a link
Reference in a new issue