Commit graph

8887 commits

Author SHA1 Message Date
Daniel Johnson
8888d73e61 Do not offer to cache user-supplied files if there's more than one file.
We aren't clever enough to find the other files after the initial one, so we just won't offer this option if there's more than one file.
2023-09-17 16:31:17 -04:00
Daniel Johnson
d41bc263ea Remove 'dest_file' for InstallerFileCollection.
It makes no sense and contained a folder sometimes; instead we have an override_dest_file() to set this, but no way to read it.

This still may only work for GOG though, as that's what it knows how to pass through to the underlying InstallerFile instances.
2023-09-17 14:35:26 -04:00
Daniel Johnson
a7df45d24e Fix installer file copy method.
The copy should copy the dest-file setting faithfully, not sometimes resolve the cache path.
2023-09-17 14:15:09 -04:00
Daniel Johnson
ea278e8b2c Move most file-collection specific code to virtual methods.
This is to separate out all uses of 'dest_file', so it can be treated specially by the file collection
2023-09-17 14:10:27 -04:00
Daniel Johnson
55008b8b69 Placate flake8!
Also, some spelling korrections!
2023-09-17 12:58:49 -04:00
Mathieu Comandon
fcbba61b85 Update text on startup dialog 2023-09-15 16:47:31 -07:00
Mathieu Comandon
38f7283eed Update Wine during startup 2023-09-15 16:38:47 -07:00
Mathieu Comandon
438dc488e6 More runtime simplification 2023-09-14 16:35:44 -07:00
Mathieu Comandon
add0cf5207 Remove calls to notify_finish 2023-09-14 15:13:25 -07:00
Mathieu Comandon
85bf1dba8d Create utility function to convert API dates to datetime objects 2023-09-14 15:06:28 -07:00
Mathieu Comandon
59151f0cbe Some simplifications / refactorizations 2023-09-14 14:57:58 -07:00
Mathieu Comandon
23c413322f Remove ability to cancel runtime updates 2023-09-14 13:53:36 -07:00
Mathieu Comandon
038fbb2d66 Remove all_levels + unneeded exception (make config.py as small as possible!) 2023-09-14 13:24:00 -07:00
Mathieu Comandon
9867b8215b Show progress for runtime downloads 2023-09-14 12:38:11 -07:00
Mathieu Comandon
e2fee9f38a Remove migrate() from init dialog, already in Application 2023-09-13 19:03:03 -07:00
Mathieu Comandon
7a3884f4a1 Typing and refactoring 2023-09-13 18:59:28 -07:00
Mathieu Comandon
faccec5721 Standardize Pico8 installation 2023-09-13 17:22:44 -07:00
Mathieu Comandon
7cda2ff51a Typo fix, remove extra return statement, take note of code ugliness 2023-09-12 18:01:20 -07:00
Mathieu Comandon
58dfa870fe Load default runner versions from versions.json 2023-09-12 17:13:41 -07:00
Mathieu Comandon
af9ceaa31a Remove extra os.path.join 2023-09-11 20:25:25 -07:00
Mathieu Comandon
0bd92fbbdb Save runner versions to cache 2023-09-11 20:18:33 -07:00
Mathieu Comandon
afe6639ee1 Update lutris.spec to use Meson 2023-09-11 19:01:08 -07:00
Mathieu Comandon
1488dcb73d Revert "Distinguish between service type and service ID, where the ID contains extra information to distingish between different service accounts"
This reverts commit 5eb0d11dfa.
2023-09-06 22:30:59 -07:00
Mathieu Comandon
e14ad284a6 Revert "Rename id to service_id as id is a reserved keyword"
This reverts commit e06508566e.
2023-09-06 22:30:30 -07:00
Mathieu Comandon
56fdb6e0f1 Fix filtering in unpack_dependencies 2023-09-06 22:10:11 -07:00
Mathieu Comandon
e06508566e Rename id to service_id as id is a reserved keyword 2023-09-06 21:51:55 -07:00
Yuki Schlarb
5eb0d11dfa Distinguish between service type and service ID, where the ID contains extra information to distingish between different service accounts 2023-09-06 20:58:58 -07:00
Mathieu Comandon
3c6245546c Create folder for Ubisoft auth files (Fixes #5011) 2023-09-06 19:54:15 -07:00
Mathieu Comandon
b88f9b9612 Update path for Steam flatpak (Fixes #3248) 2023-09-06 19:20:00 -07:00
anatoly techtonik
6e45eae2c6 Detect config from Steam snap
https://github.com/canonical/steam-snap
2023-09-06 19:14:58 -07:00
Mathieu Comandon
595b53a25e Update DLL manager version file when new version is downloaded 2023-09-06 00:53:35 -07:00
Daniel Johnson
80719ab5a7 Enable the 'break' keystroke to stop a running game.
GTK calls it break, but it's ctrl-pause on my keyboard.

This is useful when a game won't go of the mouse, but the keyboard can be used. Deus Ex: Human Revolution does this; this keystroke will let me kill it and get control again.
2023-09-03 13:21:28 -04:00
Daniel Johnson
66f58f2770 Re-enable the keyboard short 'del' to remove games.
No need for a signal for this, we can use the GameActions.
2023-09-03 12:59:15 -04:00
Daniel Johnson
097b076694 Merge remote-tracking branch 'origin/master' 2023-08-29 08:56:31 -04:00
Daniel Johnson
8cd0c27346 Downloader should stay cancelled!
If you cancel a download this can result in an error- it closes the file, which can result in an exception from the download. If this happens, we should report this as cancelled, not an error.

This way, the multi-file download UI will not retry automatically, but will just cancel out.
2023-08-29 08:56:25 -04:00
Mathieu Comandon
25d1320467 Remove unused tmp_path setting 2023-08-28 19:15:22 -07:00
Mathieu Comandon
0281d1520c Define search_call earlier in the __init__ method since it gets accessed in the methods initializing it 2023-08-28 18:07:47 -07:00
Mathieu Comandon
9edc777145 That's plain disrespectful 2023-08-27 12:33:37 -07:00
Mathieu Comandon
7613f995ff You don't say (insert Nicolas Cage meme) 2023-08-27 12:31:45 -07:00
Mathieu Comandon
9e604ec008 Remove CLI arguments from tooltips 2023-08-27 12:26:42 -07:00
Daniel Johnson
5455b54def get_platform() will now return None for MAME if MAME is not ready to provide platform data yet.
This avoids a crash when supplying missing platforms during startup. A later start-up should succeed though- MAME will have eventually generated the missing XML file.

Resolves #5003
2023-08-27 09:28:59 -04:00
Daniel Johnson
e36219f7cb Placate flake8!
Yes, I'm going to keep using that commit message until a better one comes along.
2023-08-26 08:00:30 -04:00
Daniel Johnson
9f9709d868 Fix text scaling issue when 'Missing' badges are shown.
Resolves #4988

We need to take special effort to restore the scaling after drawing the missing badge, or all text after that is rendered too small.

It's weird, but the integration between Pango and Cairo is not too clean and needs help.
2023-08-26 07:59:22 -04:00
Daniel Johnson
3d0098f2ce Merge remote-tracking branch 'origin/master' 2023-08-26 07:49:45 -04:00
Daniel Johnson
a2ec0a11a6 Hide 'Missing' badge along with platform badges 2023-08-26 07:49:39 -04:00
Mathieu Comandon
713a083f98 Move get_missing_games outside of the init method 2023-08-26 02:17:27 -07:00
Mathieu Comandon
b5adcf3ca0 Minor fixes 2023-08-26 02:11:48 -07:00
Mathieu Comandon
41e71caa2a Add typing to string module 2023-08-26 01:54:48 -07:00
Mathieu Comandon
fcf8c45f6f Update Nvidia minimum version to something more current 2023-08-26 01:30:09 -07:00
Mathieu Comandon
6fc6d9512a Add mypy to checks 2023-08-26 01:07:48 -07:00