DevilXD
137f540d62
Fix drop timestamp "ends" using "starts" translation
2023-08-07 21:04:10 +02:00
DevilXD
cb9a0789fe
Minor typing update
2023-07-05 21:20:23 +02:00
guihkx
5162e5c553
linux: fix URLs not opening in PyInstaller package
...
Because PyInstaller modifies the LD_LIBRARY_PATH environment variable
to make things work correctly on Linux, when we try to launch any
subprocess (such as the web browser), that modified variable gets
picked up as well, causing things to go south.
To work around this Linux-only problem, we have to:
1. Save the current value of LD_LIBRARY_PATH
2. Move the value of LD_LIBRARY_PATH_ORIG to LD_LIBRARY_PATH
3. Launch subprocess
4. Restore the saved LD_LIBRARY_PATH again
Reference:
https://pyinstaller.org/en/stable/runtime-information.html#ld-library-path-libpath-considerations
Co-authored-by: DevilXD <bartosz.peszek@gmail.com >
2023-06-11 16:58:18 +02:00
guihkx
82653fcc20
tk: also hook into WM_DELETE_WINDOW to quit the app
...
Makes the app exit correctly on Linux when the main window is closed.
2023-06-11 16:58:18 +02:00
guihkx
726082a157
tk: set classPath upon instantiation
...
This fixes an issue on Linux (more specifically, on GNOME Shell 44),
where the window would be identified as "Tk".
2023-06-11 16:58:18 +02:00
guihkx
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:
5943ed4e19
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
7a07e1a9e4
Use run_in_executor for the tray icon thread
2023-06-11 16:58:18 +02:00
DevilXD
489c45af11
Implement autostart via desktop file on Linux
2023-06-11 16:58:18 +02:00
DevilXD
4664a9d7da
Implement starts_at and ends_at label display change for drops
2023-06-03 23:51:38 +02:00
DevilXD
f74f7c8be7
Redesign root icon setting system
2023-04-26 18:48:04 +02:00
DevilXD
9dc7a1d65f
Fix ResourceWarning on unclosed icon file
2023-04-26 17:57:51 +02:00
DevilXD
dbc99376a5
Fix an issue with tray notifications option not saving
2023-02-27 22:31:56 +01:00
DevilXD
4100ae5661
Add an option to disable tray notifications
2023-02-19 13:16:27 +01:00
DevilXD
3892dfe59e
Implement SmartTV OAuth2 login flow
2022-12-23 13:18:23 +01:00
DevilXD
7dc474286f
Minor cleanup of comments, typing and gitignore
2022-12-23 13:17:47 +01:00
DevilXD
5751f96882
Implement handling for broadcast-settings-update
2022-12-11 18:39:38 +01:00
DevilXD
807141befb
Fix an unable to login issue;
...
introduced in the last commit by mistake
2022-12-08 20:10:53 +01:00
DevilXD
577a428de2
Handle 2004 login error code;
...
add regex validation to the username
2022-12-08 17:52:18 +01:00
DevilXD
76467bad65
Review and adjust the logging module levels
2022-12-07 14:41:47 +01:00
DevilXD
51b2da3e42
Add timestamps to output messages
2022-12-07 13:49:52 +01:00
DevilXD
ba2ad2e50d
Fix an issue with current_tab being locale-dependent
2022-12-06 17:57:58 +01:00
DevilXD
83ffea013b
Implement the translation for a campaign's game display
2022-12-06 07:39:10 +01:00
DevilXD
3551eabcee
Make it possible for the campaign status;
...
to dymanically update upon switching to the Inventory tab
2022-12-03 13:01:16 +01:00
DevilXD
5cb12b3445
Fix the proxy entry not saving it's cleared state
2022-12-01 18:50:02 +01:00
DevilXD
d3b9a76b5a
Merge branch 'linux' into master
2022-11-30 22:15:38 +01:00
DevilXD
323de6ed59
Include game name in the tray notification and mouse-over title
2022-11-30 11:51:49 +01:00
DevilXD
36597d9a4a
Display campaign's game, clear progress when idle
2022-11-30 10:47:56 +01:00
DevilXD
5e53448451
await on completed tasks, instead of calling .result()
2022-11-26 10:04:06 +01:00
DevilXD
504c6b06c0
Reimplement standard login procedure, keep chrome as backup
2022-11-19 19:03:52 +01:00
DevilXD
008dffb212
A bunch of naming and consistency changes
2022-11-15 21:39:17 +01:00
DevilXD
5752e887d1
Fix Chrome proxy support
2022-11-15 11:29:47 +01:00
DevilXD
1aa1976c1a
Add a proxy server support for Chrome
2022-11-11 18:19:41 +01:00
DevilXD
71d4bf5092
Simplify page load strat, move some messages around
2022-11-11 18:19:08 +01:00
DevilXD
4ae68b7d23
Handle _brotli error
2022-11-11 13:07:15 +01:00
DevilXD
cc4cbc5179
Various UX login flow improvements
2022-11-07 22:20:10 +01:00
DevilXD
8ecf26bc37
Restore app from tray when the login procedure starts
2022-11-07 16:55:54 +01:00
DevilXD
024ad975b9
create_task -> ensure_future + wrap event wait
2022-11-05 22:53:55 +01:00
DevilXD
2306fc1331
ensure_future -> create_task
2022-11-05 19:25:50 +01:00
DevilXD
ca5215bef3
Fix not being able to close the app during initial login phase
2022-11-05 10:46:10 +01:00
DevilXD
683d2fd755
Fix asyncio.wait breaking in Python 3.11
2022-11-04 22:29:11 +01:00
DevilXD
2f78d476e0
Change login button behavior to flip-flop
2022-11-04 14:47:54 +01:00
DevilXD
73a2a6145f
Support new login flow via Chrome
2022-11-01 17:49:21 +01:00
DevilXD
c15f557b9e
Fix a rare TclError bug
2022-10-23 14:06:06 +02:00
DevilXD
0dce936c2b
Inventory tab exclude option takes priority_only into account
2022-09-13 14:35:31 +02:00
DevilXD
0e9ddefa03
Add an option to hide excluded games from the inventory view
2022-09-12 20:04:40 +02:00
DevilXD
ac8d15a43b
Choosing Quit from the tray icon only destroys the icon when the application actually exits
2022-09-10 15:29:58 +02:00
DevilXD
81e0497f9c
Fix an issue with the window starting as minimized
2022-09-10 15:29:26 +02:00
DevilXD
3cf083d9fe
Fix an issue with the tray icon delaying the shutdown for too long
2022-09-04 09:31:01 +02:00
DevilXD
befb755273
Fix an issue with tray startup not working
2022-09-04 09:30:19 +02:00
DevilXD
c12a691a54
Make sure Windows shutdown is handled when minimized too
2022-09-03 18:50:36 +02:00