Daniel Johnson
807507ee0c
Add checks for missing API fields when fetching media URLs for the EA App.
...
Resolves #5456
2024-04-27 07:49:46 -04:00
Daniel Johnson
93856b5689
Provide type annotations for get_media_url() and get_media_urls().
2024-04-27 07:43:43 -04:00
Daniel Johnson
dec35e4522
Copy the categories of a game over when it is duplicated.
...
This is part of #5447
2024-04-22 18:27:25 -04:00
Daniel Johnson
5fe5c156fb
Can't tread dict keys as attribute- we need to use get() here.
2024-04-22 16:32:56 -04:00
Daniel Johnson
854a84569a
Fix the fix- localizable string need to use %s not {x} because they can't be f-strings.
...
ax#5446
2024-04-21 07:27:55 -04:00
Daniel Johnson
47dfafff88
Add some handling, logging, and fallback logic for failures in driver.py.
...
This can blow up pretty easily if '/proc/driver/nvidia/version' contains something unexpected, and that seems to happen pretty easily.
Resolves #5444 as well as we can for now.
2024-04-21 05:02:22 -04:00
Daniel Johnson
83b55721ec
Better tolerance for broken Vulkan installs.
...
If vulkaninfo is present but fails to work or fails to find a GPUs we'll fall back on lspci to try to find something.
2024-04-20 09:34:37 -04:00
Daniel Johnson
b32828f664
Adjust the error message when the default Wine is not found; this is likely because that Wine versions found were not compatible (ie, you are on 32-bit Linux)
2024-04-20 08:58:35 -04:00
Daniel Johnson
7b8c9ff33a
Make sure the "Check Now" buttons will actually download and updated 'versions.json' again.
2024-04-20 08:16:12 -04:00
Daniel Johnson
16760cc09f
Oops, I replaced one NoneType bug with another. Let's try that again.
2024-04-20 07:57:29 -04:00
Daniel Johnson
9ec54f5ecb
Add more type annotations and fix a NoneType bug or two.
...
Resolves #5441
2024-04-20 07:14:52 -04:00
R1kaB3rN
e2f35f5fcd
Update umu environment variable
...
- ULWGL_LOG has been deprecated since the rename of the project, so debug statements will not be displayed in the console
2024-04-18 12:50:57 -07:00
R1kaB3rN
db1869b3e0
Remove PROTON_LATEST
2024-04-18 12:50:46 -07:00
Mathieu Comandon
9558525728
Remove umu-proton
2024-04-18 11:31:59 -07:00
R1kaB3rN
0857b2b91e
Add UMU-Proton to dropdown menu
2024-04-18 11:28:28 -07:00
R1kaB3rN
d1afd68767
Return none for STORE instead of empty string
...
- When STORE is empty, protonfixes will fail to reference to the umu database for a game fix. This effects umu fixes for games such as starcitizen
2024-04-18 11:28:28 -07:00
Daniel Johnson
17ea62819e
Do not try to set accepted_return_code if it is not going to be used.
...
It's only used by _monitor_task anyway.
Resolves #5429
2024-04-15 16:56:34 -04:00
Daniel Johnson
b239c824d6
Merge pull request #5425 from CKolle/LC_ALL_translation
...
Ensure that LC_ALL gets treated as HOST_LC_ALL for proton compatibility
2024-04-14 17:04:32 -04:00
Christopher Liebich Kolle
98805414a1
Ensures that wineexec treats LC_ALL as HOST_LC_ALL
2024-04-14 13:21:12 +02:00
Christopher Liebich Kolle
14c839bf33
Set HOST_LC_ALL if LC_ALL is defined for Proton compatibility
2024-04-14 12:35:58 +02:00
Christopher Liebich Kolle
690ef051d7
Don't set HOST_LC_ALL if locale is not set
2024-04-14 12:32:08 +02:00
Christopher Liebich Kolle
3356b3189a
Fixes spelling in comment
2024-04-14 12:28:27 +02:00
Daniel Johnson
323270975f
Add None check when deciding whether to parse playtimes.
...
Resolves flathub/net.lutris.Lutris#421
2024-04-14 06:08:19 -04:00
Daniel Johnson
051908f686
Merge pull request #5423 from CKolle/bug_fix_proton_env
...
Fix NoneType error in get_game_id function
2024-04-13 17:27:44 -04:00
Christopher Liebich Kolle
26ed58349e
Fix NoneType error in get_game_id function
2024-04-13 23:03:45 +02:00
Christopher Liebich Kolle
b3914c6be7
Using is_proton_path instead
2024-04-13 07:37:49 -07:00
Christopher Liebich Kolle
164c148abd
Adds support for HOST_LC_ALL for proton versions of the wine runner.
2024-04-13 07:37:49 -07:00
Daniel Johnson
1460488baa
When we do not recognize the compositor, we can't turn it on or off anyway - so do not try.
2024-04-13 09:39:51 -04:00
Mathieu Comandon
41c57cf66b
Show Lutris logs in System tab
2024-04-13 01:03:46 -07:00
Mathieu Comandon
4552089cc4
Only keep logs of the last 5 runs of Lutris, create one file per run
2024-04-13 00:39:23 -07:00
Daniel Johnson
3d47983783
Rewrite uncategories game SQL with a subquery.
...
This is so that it can exclude the 'favorite' category, so games added to favorites are not considered categories. Hidden games are still counted as categories, though they'd be hidden anyway.
Also, Lutris game IDs are strings, not ints.
2024-04-12 19:56:17 -04:00
Daniel Johnson
06b0b2fbf7
Ooh, this is a better icon for 'Uncategorized'! A tag! 'Cause you tag things here!
...
Also, do all sidebar icons with the get_sidebar_icon() method, and provide more fallback icon support.
2024-04-12 04:59:37 -04:00
Daniel Johnson
4ebe406de6
Fixes for the Uncategorized category
...
This needs to use a reserved name, so it won't collide with user categories, and it's a fixed category, so it should have an icon and be in the top section.
2024-04-12 04:38:20 -04:00
Mathieu Comandon
2f199a272c
Remove configure button on smart categories
2024-04-12 00:49:32 -07:00
Mathieu Comandon
721940450d
Be less shouty
2024-04-12 00:45:13 -07:00
Mathieu Comandon
2f0775bfb3
Revert test back to wine-ge-8-26
2024-04-12 00:25:43 -07:00
Mathieu Comandon
859967ecbf
Formatting
2024-04-12 00:20:52 -07:00
Mathieu Comandon
da0a17d279
Added SmartCategory @hirak99's implementation for "Uncategorized"
...
Co-authored-by: Dobromir Valentinov <@dobval>
Co-authored-by: Nomen Aliud <@hirak99>
2024-04-12 00:17:30 -07:00
Mathieu Comandon
11dadbabf8
Set Remove from Library default to False
2024-04-12 00:05:02 -07:00
Mathieu Comandon
ac0bbefa15
Update Ubuntu distros
2024-04-12 00:05:02 -07:00
Mathieu Comandon
3c10bb3a89
Version bump everything
2024-04-12 00:05:02 -07:00
Mathieu Comandon
f88f0df23d
Launch a media sync after the library sync is finished.
2024-04-12 00:05:02 -07:00
Karachalios Stagkas Athanasios Nektarios
85deaa610f
Updated Greek Translation
2024-04-12 00:05:02 -07:00
Mathieu Comandon
952bcb3aed
Let's see if anyone complains...
2024-04-12 00:05:02 -07:00
Daniel Johnson
310ec685b7
Add a GAME_DIRECTORY environment variable for the use of pre-launch and post-exit scripts. Re-comment a little bit to explain who would use this (and 'game_name').
2024-04-12 00:05:02 -07:00
Mathieu Comandon
56ebf85177
Remove import
2024-04-12 00:05:02 -07:00
R1kaB3rN
14a9bcdb0d
Hide umu update channel behind LUTRIS_EXPERIMENTAL_FEATURES_ENABLED
2024-04-12 00:05:02 -07:00
R1kaB3rN
df5a43886e
Change umu description in update channel
2024-04-12 00:05:02 -07:00
Daniel Johnson
5a60cca5a7
Remove is_installed checks so that the "Remove from Library" checkbox actually works for uninstalled games.
2024-04-12 00:05:02 -07:00
Mathieu Comandon
6b622b37f8
Everyone stop panicking, I have killed the shitty property
2024-04-12 00:05:02 -07:00