-
Notifications
You must be signed in to change notification settings - Fork 0
Build Windows EXE
This guide explains how to build a standalone Windows executable (.exe) for QIFY Downloader using PyInstaller.
Before building, make sure you have:
- Windows 10 or Windows 11
- Python 3.10 or newer
- FFmpeg installed
- All project dependencies installed
Install dependencies:
pip install -r requirements.txtInstall PyInstaller using pip:
pip install pyinstallerVerify installation:
pyinstaller --versionOpen a terminal in the project folder and run:
pyinstaller --onefile --windowed --icon=assets/qify.ico --name QIFY-Downloader main.pyAfter the build completes, you'll see:
dist/
└── QIFY-Downloader.exe
The dist folder contains the executable that you can distribute.
Before publishing:
- Run the executable.
- Test MP3 downloads.
- Test MP4 downloads.
- Test multiple URLs.
- Verify FFmpeg detection.
- Verify the download folder selection.
After testing:
- Go to your GitHub repository.
- Open Releases.
- Click Create a new release.
- Create a tag such as:
v1.0.0
- Upload:
QIFY-Downloader.exe
- Publish the release.
Users can then download the executable directly from GitHub.
Because the executable is currently not digitally signed, Windows Smart App Control or Microsoft Defender may display a warning when it is run for the first time.
This is normal for new unsigned applications from independent developers.
Users who prefer can inspect the source code on GitHub and build the application themselves.
Install PyInstaller:
pip install pyinstallerMake sure the icon exists:
assets/qify.ico
and build using:
--icon=assets/qify.icoCheck:
- Python dependencies
- FFmpeg installation
- Windows Defender or Smart App Control messages
Review the terminal output for any build errors.