Commit Graph
18 Commits
Author SHA1 Message Date
DevilXD 67cfc6603d Update Pillow to v10.0 2023-10-14 17:49:38 +02:00
DevilXD dcd740d18d Allow pystray v0.19.5 to be installed 2023-10-14 17:49:38 +02:00
DevilXD 562627e657 Pin pillow version to <10 2023-07-02 19:17:19 +02:00
guihkx e31dcd85b4 linux: add truststore as a dependency
Because Linux distributions don't have an 'universal' path for the
system certificate store, bundling libssl built on distro A might not
work on distro B, because distros tend to change path to the
certificate store at build time.

This means that creating a PyInstaller package on Ubuntu will include
the libssl built there, and if you try to run this package on a
different distro (e.g. Arch Linux), any attempt to create an SSL
connection will fail, because Arch Linux has a different path for the
certificate store than Ubuntu.

This issue is usually worked around by bundling certificates with the
app (usually using certifi), and then pointing the SSL_CERT_FILE
environment to it.

However, truststore seems to be a better alternative, since it tries to
use the certificate store from the system instead.

The list of benefits are listed on the project's page on GitHub:

https://github.com/sethmlarson/truststore
2023-06-11 16:58:18 +02:00
guihkx 7c1e7b0af1 linux: add PyGObject as a dependency
This dependency is required for proper support of the AppIndicator
backend from pystray:

https://github.com/moses-palmer/pystray/blob/v0.19.4/docs/faq.rst#how-do-i-use-pystray-in-a-virtualenv-on-linux
2023-06-11 16:58:18 +02:00
guihkxandDevilXD f8c0dba1ee Use icon.visible to show or hide the tray icon on all systems
On Linux, pystray's icon.stop() currently doesn't work well with the
AppIndicator backend.

So, instead of destroying the icon when the user restores from tray
(only to later re-create it when the user minimizes to tray again), we
have the option to control the icon's visibility instead! Luckily, that
works on Windows too!

Note that for this change to work properly on Linux, we need to switch
to the master version of pystray, because we need this specific fix:

https://github.com/moses-palmer/pystray/commit/5943ed4e19be48224cf39b70444de8ffe22c23ce

After pystray releases a version newer than 0.19.4, we can switch back.

Co-authored-by: DevilXD <bartosz.peszek@gmail.com>
2023-06-11 16:58:18 +02:00
DevilXD 330eb4f184 Remove undetected-chromedriver from dependencies 2023-04-23 10:06:07 +02:00
DevilXD d3b9a76b5a Merge branch 'linux' into master 2022-11-30 22:15:38 +01:00
DevilXD 73a2a6145f Support new login flow via Chrome 2022-11-01 17:49:21 +01:00
DevilXD 1e035f1a36 Properly handle Windows shutdown message 2022-09-03 18:12:32 +02:00
DevilXD 8cd77bae2a Change websocket internals to use aiohttp instead 2022-04-08 22:04:53 +02:00
DevilXD 5af4ee79c3 Remove Game Selector;
Implement multi-game mining based on the priority list
2022-03-30 14:15:26 +02:00
DevilXD 423e51bc27 Handle maximum channels limit;
Proper handle of a case where the app ends up with more channels from ACLs than is supported
2022-02-13 20:13:11 +01:00
GenericPseudonym 3ccbff6065 Add websockets to requirements list
Since it won't run without it
2022-02-11 13:38:23 -08:00
DevilXD 34a1a5b12b Remove Pillow dependency 2022-01-12 21:36:47 +01:00
DevilXD 1aba5984d2 Protect 3p lib imports + update requirements 2022-01-11 20:29:13 +01:00
DevilXD 65069c1963 More accurate requirements 2021-12-04 16:07:45 +01:00
DevilXD 947fd6f148 Added requirements file 2021-12-03 22:28:59 +01:00