Commit graph

8983 commits

Author SHA1 Message Date
Daniel Johnson b9eeda1a19 Add an "Open" button to open the directory in a file browser.
These are just textual buttons for now.
2023-10-31 19:02:46 -04:00
Daniel Johnson 9de31af32e Download more media when reloading Lutris.
Specifically, games that are missing media, have Lutris slugs, and are not in your Lutris library can get media here.
2023-10-30 17:19:23 -04:00
K900 1f1d554df3 scummvm: handle runner not being available in get_command, add/fix test 2023-10-29 15:51:53 -07:00
Daniel Johnson e9b8d199f4 Fix one more setting-change call to include the state. 2023-10-29 18:44:50 -04:00
Daniel Johnson f08fb5271a Fix for app-indicator tray icon hiding.
The opposite of ACTIVE is PASSIVE, not more ACTIVE.
2023-10-29 18:43:11 -04:00
Daniel Johnson 9e9053418d Fix what looks like a messed up merge
Make sure all the settings-changed handlers are actually hooked up and are in the right places.
2023-10-29 18:40:14 -04:00
Daniel Johnson e25c9811ee Hide the Lutris window instead of deleting it on close, when the tray icon is turned on.
Resolves #5109
2023-10-29 18:31:10 -04:00
Mathieu Comandon 58aa2de6f7 Remove unused directories 2023-10-29 15:12:09 -07:00
Mathieu Comandon f156d15f73 Fix flatpak list command 2023-10-29 15:10:43 -07:00
Mathieu Comandon aa53962550 Make output of flatpak list consistent 2023-10-29 14:59:03 -07:00
Daniel Johnson f2ed457c4e Remove support for '--force-grab-cursor' in GameScope
This option is undocumented, may not be supported in current GameScope, nobody seems to understand what it does very clearly, and can be activated via the custom flags for GameScope anyway.
2023-10-29 13:41:55 -04:00
Daniel Johnson 0da16b08d6 Handle flatpak output that provides the architecture. 2023-10-28 11:50:22 -04:00
Daniel Johnson 10d64c5dc2 Supply missing import for 'logger'. 2023-10-28 10:54:43 -04:00
Mathieu Comandon 53464a4be8 Add quotes around passphrase 2023-10-27 22:56:19 -07:00
Mathieu Comandon d1e84424ea Add error handler when not able to parse Flatpak output 2023-10-27 12:50:49 -07:00
Mathieu Comandon d17b4583b5 Add check for missing Itch.io appids 2023-10-27 12:21:29 -07:00
NorwayFun 4b7b4c0e12 po: Update Georgian translation 2023-10-27 11:58:43 -07:00
Daniel Johnson 5c7e2bc945 Sprinkle os.path.expanduser all over
Yes, it's ugly and inelegant. But we've got many users with ~ in the paths in their config files.

This plops a bunch of expanduser calls in an effort to make games like that at least work.

It's unlikely this covers everything, but hopefully it will handle the most important cases.
2023-10-25 19:34:38 -04:00
Daniel Johnson 9965b9de60 Add exception handling so if desktop integration fails, the game may still be run.
The integration isn't critical; we'll log the exception and continue, and hope Wine can still start.

Resolves #5101
2023-10-25 18:41:52 -04:00
Daniel Johnson f557e1c486 Prophylactically expand ~ for wine prefix access.
It should be expanded, but just in case it is not.
2023-10-25 18:37:13 -04:00
Quinn64 c09097491f
Added support for Flatpak custom commands (#5090) 2023-10-25 15:22:14 -07:00
Adi Efendic b870d29241 Add additional validation for playtime input 2023-10-25 14:37:30 -07:00
Adi Efendic 38af68261e Add input field for playtime in edit game dialog 2023-10-25 14:37:30 -07:00
Daniel Johnson 11d728f524 Use spawn to start a terminal
This way, Lutris does not lock up until the terminal exits.

Resolves #5093
2023-10-23 16:27:12 -04:00
Daniel Johnson 6568fe4bd8 Add check that the prefix can be found before giving it to Steam via env-var.
Resolves #5091
2023-10-22 13:13:31 -04:00
Daniel Johnson ed4e4c32ba Add prophylactic code for bogus environment variables.
Each env-var value should be a string, if not we skip None and convert all other values to strings. But we also log warnings so we can tell which env-var it was.
2023-10-22 11:53:16 -04:00
Daniel Johnson 85e63862f6
Merge pull request #5087 from NorwayFun/master
po: Add Georgian translation
2023-10-21 07:47:36 -04:00
NorwayFun 6f280a0429
po: Add Georgian translation 2023-10-21 12:45:44 +02:00
NorwayFun 89f31ed5fd
Update LINGUAS: Add Georgian 2023-10-21 12:45:05 +02:00
Mathieu Comandon ba9c0aea5a Typo!!!!!!!! 2023-10-19 18:09:59 -07:00
Mathieu Comandon 6b3cacb33b Be more lenient with Flatpak options 2023-10-18 16:58:50 -07:00
Mathieu Comandon a1319a82dd Add user expansion to create_prefix 2023-10-18 14:27:01 -07:00
Mathieu Comandon 7b17a9a25d Expand user path in path_exists 2023-10-18 14:06:55 -07:00
Mathieu Comandon a9f0dfabbf Improve Flatpak support for ScummVM 2023-10-18 13:15:45 -07:00
Mathieu Comandon 5158fc37eb No need to write to shortcut file when no shortcut is removed 2023-10-17 16:28:32 -07:00
Mathieu Comandon 3a27de7a94 Remove Steam shortcut, completely remove games with no playtime, remove update_all_artwork 2023-10-17 16:25:52 -07:00
Daniel Johnson 8c5e6d7264 Make sorting by name ('natural sorting') be case-insensitive, because game publishers don't know how to spell.
Resolves #5076
2023-10-17 19:00:31 -04:00
Mathieu Comandon e6d578f250 Check for validity of files in scripts (Fixes #5057) 2023-10-17 15:46:49 -07:00
farchord a9f8bde083 Fixed typo in lutris.spec
Typo in the BuildRequires, needs a semicolon
2023-10-17 14:54:40 -07:00
Mathieu Comandon 782d92482a Update version in lutris.spec 2023-10-16 07:47:21 -07:00
Mathieu Comandon 9d6eb3b9a0 Add 0.5.1 4 info in metainfo.xml 2023-10-16 07:47:21 -07:00
Mathieu Comandon a66499ab29 Update screenshot in metainfo 2023-10-16 07:47:21 -07:00
Quinn64 15995e2084 Added Rosalie's Mupen GUI as a runner. Removed Rosalie's Mupen GUI's flatpak ID from the standalone mupen64plus's runner to avoid confusion 2023-10-16 07:04:58 -07:00
Quinn64 4a63489630 Changed runner download links from http to https after checking validity 2023-10-16 07:04:58 -07:00
Quinn64 d7aab6db12 Updated Ruffle 2023-10-16 07:04:58 -07:00
Quinn64 fa0b8ae683 Fixed the mGBA runner help 2023-10-16 07:04:58 -07:00
Mathieu Comandon 0531e7f9c6 Adapt user_data_dir when executed in a Flatpak 2023-10-16 05:24:33 -07:00
Mathieu Comandon 132dfdb805 Reverse prefered order of Lutris shortcuts 2023-10-16 05:24:33 -07:00
Mathieu Comandon 89bd6c6138 Add description label to sources 2023-10-16 05:24:33 -07:00
Dan Johnson 4f1706c3bb Toot my own horn!
Also, call out the Cairo dependency we fixed, for repo maintainers.
2023-10-16 07:00:54 -04:00