diff options
author | tbkizle <tbkizle@gmail.com> | 2022-01-04 06:56:11 +0100 |
---|---|---|
committer | Calum Lind <calumlind+deluge@gmail.com> | 2022-01-13 23:23:08 +0100 |
commit | b9a208f18f3743e2e52b019170bf2a4810d38751 (patch) | |
tree | f8a03d30b4707ffd9b382a03b5bc38beb906cf6a /packaging/win/README.md | |
parent | Restore PY2 for 3rd-party plugins (diff) | |
download | deluge-b9a208f18f3743e2e52b019170bf2a4810d38751.tar.xz deluge-b9a208f18f3743e2e52b019170bf2a4810d38751.zip |
Update Windows Packaging
* 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
Diffstat (limited to 'packaging/win/README.md')
-rw-r--r-- | packaging/win/README.md | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/packaging/win/README.md b/packaging/win/README.md new file mode 100644 index 000000000..4b9924cc4 --- /dev/null +++ b/packaging/win/README.md @@ -0,0 +1,32 @@ += 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. |