diff options
author | Klemens Nanni <klemens@posteo.de> | 2022-05-28 10:27:24 +0200 |
---|---|---|
committer | Klemens Nanni <klemens@posteo.de> | 2022-05-30 01:31:03 +0200 |
commit | 670cb2103a4d41705ce33ceff39c1636073d9dce (patch) | |
tree | f41d5e0d6ce81679afdf5b43d2a5b9d903ebf3ea /lib | |
parent | 558da46289a8fc302a5fd7b1fac2467aadd1b132 (diff) |
qbittorrent: Wrap once, python is optional
qbittorrent is wrapped twice which must be generally be avoided as it breaks the program's basename, e.g. `argv[0]` ends up with ".qbittorrent-wrapped" rather than "qbittorrent" as basename. This becomes relevant when matching for (exact) program names: pgrep(1), earlyoom(1)'s `--avoid`, etc. Furthermore, Python is only required by the (default enabled) tracker search feature. Since the "qbittorrent" ELF executable is wrapped automatically as a Qt app, replace the unconditional `postInstall` hook with an optional addition to `makeWrapperArgs` with is used by `wrapQtApp` eventually. This merges two wrappers and thus fixes the basename.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions