Mathieu Comandon
886037d5e9
Add function to read GAMEID to proton module (not yet implemented)
2024-03-01 04:45:14 -08:00
Mathieu Comandon
7c4bed7ce5
😡
2024-03-01 02:29:18 -08:00
Mathieu Comandon
82b44a4cc2
Update get_command code for Proton
2024-03-01 02:26:20 -08:00
Mathieu Comandon
01765e1b6f
Revert "Fix check for 'ulwgl-run' presence."
...
This reverts commit fadc55eb2d
.
2024-03-01 01:58:44 -08:00
Mathieu Comandon
99f270713d
Support both globally installed and locally installed ulwgl
2024-03-01 01:57:35 -08:00
Daniel Johnson
bd40f7ef56
Explicitly specify the output device for xrandr call to set resolution.
...
This can probably be better - we might pick the output device based on the 'gpu' setting if set. But baby steps.
Resolves #933
2024-02-28 19:54:38 -05:00
Daniel Johnson
fadc55eb2d
Fix check for 'ulwgl-run' presence.
...
We don't return None from find_executable() ever, we raise MissingExecutableError.
So, an except instead of an if.
2024-02-28 19:54:38 -05:00
Rafał Mikrut
5378de4060
Add CI checks for every commit
2024-02-28 16:27:06 -08:00
Daniel Johnson
467993d41a
Replace regular expression grep of desktop file with the Gio API for this.
2024-02-28 19:14:18 -05:00
Aqa-Ib
67c0f807e9
Add .desktop file's path to working directory on local source games
2024-02-28 16:02:55 -08:00
Mathieu Comandon
8b7190a384
Extract get_proton_path_for_version
2024-02-27 16:17:23 -08:00
Mathieu Comandon
16df7887a4
Add proton module
2024-02-27 15:53:36 -08:00
Mathieu Comandon
4c002148c3
Switch more ulwgl-run to find_executable
2024-02-27 14:33:02 -08:00
Mathieu Comandon
083fca5310
Switch ulwgl detection to find_executble, stop raising exception if executable not found
2024-02-27 14:20:27 -08:00
Mathieu Comandon
35e29e657c
Sync categories to website
2024-02-26 22:56:20 -08:00
GloriousEggroll
f4cfc6f3e6
change ulwgl-run path to auto-find based on 'which ulwgl-run' output
...
fixup
2024-02-26 19:40:55 -07:00
Mathieu Comandon
daa3eea2e9
Add issuelocker script
2024-02-26 17:53:56 -08:00
Mathieu Comandon
351be70065
Remove audio import
2024-02-24 21:39:09 -08:00
Mathieu Comandon
2e55201467
Remove reset Pulseaudio option because it's 2024 and we use Pipewire
2024-02-24 21:32:46 -08:00
Mathieu Comandon
558a62c8b6
Remove unused game_id
2024-02-24 21:18:22 -08:00
Mathieu Comandon
24f8fee432
Re-enable imports sorting
2024-02-24 21:14:32 -08:00
Mathieu Comandon
b9ae42fd9b
Add a #noqa
2024-02-24 21:07:29 -08:00
Mathieu Comandon
395d8a03f0
Ruff fixes
2024-02-24 21:05:10 -08:00
Mathieu Comandon
38fbe9f05e
Ruff reformat
2024-02-24 21:02:06 -08:00
Mathieu Comandon
2c9d12337d
Update Makefile
2024-02-24 21:01:38 -08:00
Mathieu Comandon
1a96ec822c
Update ruff.toml
2024-02-24 20:58:42 -08:00
Mathieu Comandon
7ec328131b
Merge branch 'qarmin-ruff'
2024-02-24 20:56:00 -08:00
Mathieu Comandon
2b9b89d068
Start making xrandr logs more noisy so we eventually reduce their calls
2024-02-23 16:24:25 -08:00
Mathieu Comandon
c8b4fc1332
Add environment variable to be able to bypass all vkquery calls
2024-02-23 14:56:31 -08:00
Daniel Johnson
4345d044de
More extensive commenting for GameActions
2024-02-23 13:44:22 -08:00
Daniel Johnson
4559073cde
Remove the games list from all GameActions but MultiGameActions; SingleGameActions.game can just be an ordinary field.
2024-02-23 13:44:22 -08:00
Daniel Johnson
720cb63863
Remove all the game loops from SingleGameAction, using a property for now
2024-02-23 13:44:22 -08:00
Daniel Johnson
f3dae5b119
Merge BaseGameActions and GameActions.
2024-02-23 13:44:22 -08:00
Daniel Johnson
57e9263e84
Split GameActions into separate subclasses for the single and multi game cases, moving single-game-only methods down into it.
2024-02-23 13:44:22 -08:00
Daniel Johnson
a3b3f44387
Add explanatory comments about destroying the VKInstance.
2024-02-23 13:44:22 -08:00
Daniel Johnson
c5fb590d1e
Never destroy a VKInstance; just allocate on demand and keep it while Lutris runs.
...
For some reason, destroy the VKInstance cause some users to crash. I can't see why. But how about we don't do that?
Resolve #5222
2024-02-23 13:44:22 -08:00
Daniel Johnson
1c59619b58
Block the game actions for multi-selections that contain service games.
...
These offer a non-functional 'Add to favorites' command. There are no actions that work on multiple service games, or mixes of service and library games.
2024-02-23 13:44:22 -08:00
Mathieu Comandon
aed2b064d7
Increment version to get ULWGL in the Runtime API
2024-02-23 13:44:22 -08:00
Mathieu Comandon
083c6b8373
Seems like this should use launch_config_name like the other methods
2024-02-23 13:44:22 -08:00
Daniel Johnson
aac64a99b1
Treat a missing or None category as "all", so Runner and Platform views work again.
2024-02-23 13:44:22 -08:00
Mathieu Comandon
26c9621bbb
Remove Lutris service from defaults and hide it behind an environment variable
2024-02-23 13:44:22 -08:00
Mathieu Comandon
05e55dfe79
Sync library on launch and game install
2024-02-23 13:44:22 -08:00
Mathieu Comandon
4566f02b25
Run initial sync when first enabled
2024-02-23 13:44:22 -08:00
Mathieu Comandon
84b6d9aefd
Add login/logout button to account section
2024-02-23 13:44:22 -08:00
Daniel Johnson
330ef613bc
Provide message for the hidden row when it is empty, but also disable 'Show Hidden Games' when there are no hidden games.
2024-02-23 13:44:21 -08:00
Daniel Johnson
20d354232e
Hide the hidden row when it is not selected, that is, when you switch away from it.
2024-02-23 13:44:21 -08:00
Daniel Johnson
5aa976e3fa
Avoid selected hidden rows when starting up.
...
This means you won't return to the hidden row *or* the running row; instead you will go to the 'Games' view on start-up.
2024-02-23 13:44:21 -08:00
Daniel Johnson
b840c1389f
Fix bugs in the filtering so hidden games are hidden, except in the hidden view, and update as soon as you hide them or unhide them.
2024-02-23 13:44:21 -08:00
Daniel Johnson
fefbb38d12
Adjust hidden and favorites code for consistency, also add some commenting.
2024-02-23 13:44:21 -08:00
Daniel Johnson
87db808be2
Remove old 'hidden' column from schema, add migration to category
...
This only works because we don't remove the column from existing databases, but we won't create it in new ones.
There's a bit of error handling so we silently skip the migration if the column's not there.
Also fix broken migration code, so migrations are applied with no init dialog.
2024-02-23 13:44:21 -08:00