Commit Graph
23 Commits
Author SHA1 Message Date
Mikaël Capelle af6fa07882 Fix for typing after stubs update. 2022-05-07 14:02:01 +02:00
Mikaël Capelle 096b8fb53f Fix after merges. 2022-05-02 16:59:21 +02:00
Mikaël Capelle 65e00cce83 Merge branch 'ZashIn-feat/BasicModDataChecker' into qt6
# Conflicts:
#	README.md
2022-05-02 16:53:35 +02:00
Mikaël Capelle 117be45a83 Multiple fixes for PyQt6 and CI. 2022-04-21 22:13:00 +02:00
Zash 7eb501027d fix: = None missing in optional custructor arg 2022-04-07 22:35:59 +02:00
Zash c568c0b943 fix: failed unfold should result in unfixed tree (not valid). 2022-04-07 16:02:56 +02:00
Zash f3977a9235 Refactor: clear distinction between setting and updating file patterns, removed kwargs + overloads. 2022-04-07 16:01:53 +02:00
Zash 3e9217b3c3 fix: valid files not accepted. 2022-04-05 23:31:33 +02:00
Zash 0567e4ff31 BasicModDataChecker: check / fix keys in definition order. 2022-04-04 22:20:45 +02:00
Zash a127433da5 + basic_feature: BasicModDataChecker - ModDataChecker with simple file patterns (glob). 2022-04-04 22:20:45 +02:00
Jeremy Rimpo 1fdf5031ea PyQt6 Compatibility 2021-12-06 05:20:37 -06:00
Mikaël Capelle a83e96528f Apply isort. 2021-07-18 10:33:08 +02:00
Mikaël Capelle be9ad2cb1f Remove old pieces of code from BasicGameSaveGameInfo and fix W3 save game handling. 2021-02-26 20:57:38 +01:00
Mikaël Capelle ca7aa7f800 Fix position of savegame widget. 2021-02-07 17:32:39 +01:00
Mikaël Capelle cc5f5cc586 Minor fixes. Add missing %USERPROFILE% replacement. 2020-11-29 19:59:11 +01:00
Mikaël Capelle b385652e7a Update for IPluginGame::listSaves(). 2020-11-18 19:17:55 +01:00
Mikaël Capelle 53ad1f4f0c Add save file to W3 and DS2. 2020-10-17 12:53:31 +02:00
Chris Djali f20d5a3bd1 mtime was correct
Holt elaborated here: https://github.com/ModOrganizer2/modorganizer-basic_games/pull/4#issuecomment-668716972
2020-08-04 18:10:35 +01:00
Chris Djali 20ab101e63 Pathlib stuff
`os.path` is old and less safe than Pathlib, so I removed it while I wanted to meddle with this file anyway.

It looked suspicious that `getCreationTime` was returning the modification time instead of the creation time, so I changed that from `mtime` to `ctime`.

I also added handling for `value` being a `Path` object as that's the type for the thing it represents. I might not have needed the explicit `str` call as Path is implicitly convertible to `str` lots of the time, but I've not actually tested the change so wanted to play it safe.
2020-08-04 18:03:24 +01:00
Mikaël Capelle 27c497ae85 Allow QImage for basic game preview. 2020-06-13 20:53:00 +02:00
Mikaël Capelle 2b51e21f2e Clean save game basic feature. 2020-06-12 21:36:38 +02:00
Mikaël Capelle 09bcd4d68e Allow different return types in get_preview for saves. 2020-06-12 00:14:08 +02:00
Mikaël Capelle 374505d6c7 Add basic save game implementation. 2020-06-12 00:06:01 +02:00