Commit graph

8967 commits

Author SHA1 Message Date
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
Mathieu Comandon d60a5a4489 Fix huge download size shown for GOG games 2023-10-16 03:39:09 -07:00
Mathieu Comandon e943304e37 Update changelog 2023-10-16 02:36:04 -07:00
Mathieu Comandon 414da87d0e Also ignore modules in /var/home 2023-10-16 01:38:44 -07:00
Mathieu Comandon be2c47cb4b Modify sys.path to prevent Python from loading packages from .local/lib 2023-10-16 01:31:29 -07:00
Mathieu Comandon 401c24743d Conditionally load ld_library_path for scummvm 2023-10-11 13:29:02 -07:00
Mathieu Comandon 4ad7625069 Add labels to Steam account prefs 2023-10-11 10:24:11 -07:00
Mathieu Comandon e75e477109 Don't load ScummVM extra libs when using external ScummVM runner 2023-10-11 09:39:43 -07:00
Dan Johnson 8ff590055b Break circular dependency
I moved use_lutris_runtime into the commands/wine.py file, which is the only place it is used; from there it can hit the runtime without a cycle.
2023-10-10 18:18:27 -04:00
Dan Johnson 16a99f75ba Basic error handling for many signal handlers in LutrisWindow.
It beats crashing the entire program if something goes wrong.
2023-10-10 18:10:35 -04:00
Mathieu Comandon 8f31e2f0d1 Clear Wine cache when new version is installed, disable runner update when runtime updates are disabled 2023-10-10 14:11:56 -07:00
Daniel Johnson 1d7673b936
Merge pull request #5067 from bell07/master
ScummVM: fix of last-minute-before-commit bug
2023-10-10 16:58:43 -04:00
Daniel Johnson 0494c6e189
Merge branch 'master' into master 2023-10-10 16:58:13 -04:00
Mathieu Comandon 28e09a6275 Use prefered Steam account for Steam integration and shortcuts 2023-10-10 13:45:25 -07:00
Mathieu Comandon d2c10a8087 Add Steam account selection in account preferences 2023-10-10 13:21:40 -07:00
Dan Johnson 8de92e7b0f Set an icon on the LutrisInitDialog
It can be shown for quite a while, so it may as well have suitable branding.
2023-10-10 14:41:27 -04:00
Alexander Weber b249e402a3 ScummVM: Remove wrong filled and unused platform 2023-10-10 15:43:53 +02:00