mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-12 20:44:50 +00:00
4f17fc41a5
CirnoT reported how they felt that GTK3 is not reliable on Windows. Seeing some weird issues where clicking Deluge icon on taskbar does bring window to front but doing so again does not minimize it as one would expect. By using GTK_CSD=0 this would reduce these problems. > If changed to 0, this disables the default use of client-side decorations on GTK windows, thus making the window manager responsible for drawing the decorations of windows that do not have a custom titlebar widget. This can be overridden by a global env var. Ref: https://github.com/deluge-torrent/deluge/pull/331#issuecomment-1012311605 Ref: https://docs.gtk.org/gtk3/running.html
= 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 ==
-
Build and Install Deluge on Windows.
-
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
. -
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.