mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-12 04:24:27 +00:00
b9a208f18f
* Rename instances of win32 to generic win or the appropriate bit where applicable * Remove files used in GTK2 * Add spec file for use with PyInstaller * Remove Python bbfreeze Script * Add Github Action To Build Releases * Add Modified script to make files used by NSIS * Update Readme Closes: https://github.com/deluge-torrent/deluge/pull/331
33 lines
894 B
Markdown
33 lines
894 B
Markdown
= Deluge Installer for Windows =
|
|
|
|
Instructions for building the Deluge NSIS Installer for Windows Vista/7/8/8.1/10/11.
|
|
|
|
== Dependencies ==
|
|
|
|
- Deluge build: https://deluge.readthedocs.io/en/latest/depends.html
|
|
- PyInstaller: https://pypi.org/project/pyinstaller/
|
|
- NSIS: http://nsis.sourceforge.net/Download
|
|
|
|
== Build Steps ==
|
|
|
|
1. Build and Install Deluge on Windows.
|
|
2. Run the pyinstaller from the deluge\packaging\win directory.spec:
|
|
|
|
`pyinstaller --clean delugewin.spec --distpath .\packaging\win\freeze`
|
|
|
|
The result is a PyInstaller version of Deluge in `packaging\win\freeze`.
|
|
|
|
3. Run the NSIS script:
|
|
|
|
64-bit python:
|
|
|
|
`makensis /Darch=x64 deluge-win-installer.nsi`
|
|
|
|
32-bit python:
|
|
|
|
`makensis /Darch=x86 deluge-win-installer.nsi`
|
|
|
|
Note: If you don't specify arch defaults to trying x64
|
|
|
|
The result is a standalone installer in the `packaging\win` directory.
|