Initial commit: Add playlist downloader project with UI and core functionality
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
#!/bin/bash
|
||||
# Build script for creating the executable
|
||||
|
||||
echo "Building MusicDownloader executable..."
|
||||
echo ""
|
||||
|
||||
# Activate virtual environment
|
||||
source .venv/bin/activate
|
||||
|
||||
# Install PyInstaller if not already installed
|
||||
echo "Checking PyInstaller..."
|
||||
pip show pyinstaller > /dev/null 2>&1
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Installing PyInstaller..."
|
||||
pip install pyinstaller
|
||||
fi
|
||||
|
||||
# Run the build script
|
||||
echo ""
|
||||
echo "Starting build process..."
|
||||
python build_exe.py
|
||||
|
||||
if [ $? -ne 0 ]; then
|
||||
echo ""
|
||||
echo "Build failed!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo ""
|
||||
echo "Build completed successfully!"
|
||||
echo "The executable is located at: dist/MusicDownloader"
|
||||
Reference in New Issue
Block a user