/packager-extras

Extra utilities to use after running the TurboWarp Packager

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

TurboWarp Packager Extras

Extra utilities to use after running the TurboWarp Packager. Currently, it can:

  • Fix the icon of the executable file
  • Create installers

Most people will want to download the prebuilt versions from https://github.com/TurboWarp/packager-extras/releases

This is only intended to be run on Windows systems. It may work with things like Wine, but Wine support is not tested and not a priority.

Written in Python (3.12.2) and PyQt5.

To build locally:

# Create virtual env using Python 3.11.9 64-bit
py -3.11 -m venv venv

# Activate virtual env with the appropriate script for your platform in venv/Scripts, eg. for PowerShell:
.\venv\Scripts\Activate.ps1

# Install dependencies
pip install -r requirements.txt

# Start the app for development
python app.py

# Create executable
pyinstaller --noconsole --noconfirm --clean --add-data 'third-party;third-party' --add-data 'icon.png;.' --name "turbowarp-packager-extras" --version-file file_version_info.txt --icon icon.ico app.py

# Create zip
python generate-zip.py

For each release:

  • Update VERSION in app.py
  • Update various versions in file_version_info.txt

The final executable will be stored in the dist folder.

Some third-party executables are included inside the repository in the third-party folder. See the relevant "README.txt" documents in each folder for more information.

License

TurboWarp Packager Extras is licensed under the GNU General Public License version 3. See LICENSE for more information.

The output of TurboWarp Packager Extras is a derivative work of the packaged project you selected but NOT a derivative work of TurboWarp Packager Extras itself.