loathingKernel
bbaff5f42c
Lgndr: Add re-implemented uinstall_game
...
Lgndr: Change the exception level to CRITICAL for core
LegendaryUtils: Use uninstall_game from our Lgndr
UninstallDialog: Update to return a tuple of values
App: Keep files if the install directory was lost
App: Run legendary's exit procedures on exit
2022-08-02 10:42:38 +03:00
loathingKernel
8bbb42a045
Lgndr: cleanup
2022-08-02 10:42:38 +03:00
loathingKernel
654f734975
Lgndr: Update test get_boolean_choice to the arguments of its counterpart
2022-08-02 10:42:38 +03:00
loathingKernel
2bf41f20d1
Lgndr: Match the arguments of legendary's get_boolean_choice
2022-08-02 10:42:38 +03:00
loathingKernel
14087a3c6c
Lgndr: Add default implementation for get_boolean_choice
that returns False
2022-08-02 10:42:38 +03:00
loathingKernel
b4a1efa357
Lgndr: Add 'repair_and_update' argument in InstallOptionsModel
2022-08-02 10:42:38 +03:00
loathingKernel
aeb149a3e9
Lgndr: Use custom wrapped
decorator to wrap LegendaryCLI functions
...
Lgndr: Add `get_boolean_choice` to relevant args dataclasses
Lgndr: Move mock functions to `api_monkeys`
InstallDialog: Add status queue to prepare_overlay_install arguments, fixes missing download stats
2022-08-02 10:42:38 +03:00
loathingKernel
7aded95a1f
Lgndr: Monkeypatch modified DLManager into LegendaryCore at module import
2022-08-02 10:42:38 +03:00
loathingKernel
caffd9c51d
Lgndr: Return result from resolve_aliases (woops)
2022-08-02 10:42:38 +03:00
loathingKernel
9acfd7a67f
Lgndr: Follow comment pattern
2022-08-02 10:42:38 +03:00
loathingKernel
53fba8c705
Lgndr: Set 'estimate' to 0 before it can be calculated
2022-08-02 10:42:38 +03:00
loathingKernel
10b845c0aa
Lgndr: Save the manifest if it was downloaded while verifying
2022-08-02 10:42:38 +03:00
loathingKernel
545d77ef07
Lgndr: Expose 'resolve_aliases' for outside usage
2022-08-02 10:42:38 +03:00
loathingKernel
3aae3887f6
Lgndr: Create argument models for consistent function arguments and cleaner implementation.
...
Lgndr: Prefix files that aren't part of legendary with 'api_'
Lgndr: Return statistics from 'verify_game' instead of parsing the exception
VerifyWorker: Add 'error' signal for exceptions.
2022-08-02 10:42:38 +03:00
loathingKernel
197f915fb3
InstallOptionsModel: Rename fields to use the same names as Legendary's arguments
2022-08-02 10:42:38 +03:00
loathingKernel
883bd268ff
Mirror Legendary classes structure in the shim.
...
Lgndr: Move code segments copied from `prepare_download` back to their original location in `install_game`
Lgndr: Add the LgndrLogHandler at initialization instead of every function.
Lgndr: Move `verify_game` to its original place in `LegendaryCLI`
Lgndr: Change the way DLManager is patched into LegendaryCore proper
Shared: Add singleton for LegendaryCLI, LegendaryCoreSignleton returns core from LegendaryCLI
VerifyWorker: Update to use `verify_game` from `LegendaryCLI` directly
PreLaunchThread: Initialize LegendaryCLI to get LegendaryCore from it
InstallDialog: Update `prepare_install` argument names
2022-08-02 10:42:38 +03:00
loathingKernel
d4bf783018
Update core to the submodule rebase
2022-08-02 10:42:38 +03:00
loathingKernel
fd2c094dc2
Add override for prepare_overlay_install()
2022-08-02 10:42:38 +03:00
loathingKernel
9af4e7ead8
Specify correct return type for prepare_download()
and disable formatting for copied code segments
2022-08-02 10:42:38 +03:00
loathingKernel
2c2f44c97c
Use a loggin handler in stead of monkeypatching for raising LgndrException
2022-08-02 10:42:38 +03:00
loathingKernel
78fb13830e
Set logging level instead of disabling it in DLManager
2022-08-02 10:42:38 +03:00
loathingKernel
99ab488820
Pass the correct status queue and monkeypatch run_real in prepare_download
2022-08-02 10:42:38 +03:00
loathingKernel
9698bf445b
Re-enable logging in DLManager correctly
2022-08-02 10:42:38 +03:00
loathingKernel
d4718f823f
Use custom exception to overload log.error
and log.fatal
in egl_import
and egl_export
2022-08-02 10:42:38 +03:00
loathingKernel
3ec8973de8
Update shim UIUpdate and DLManager to the cleanup changes from the submodule
2022-08-02 10:42:38 +03:00
loathingKernel
a9954a98f6
LegendaryCore: Re-use super's prepare_download()
instead of copying it.
2022-08-02 10:42:38 +03:00
Stelios Tsampas
04a76ed2ff
Include PoC implementation of LegendaryCLI
for the import_game
method
2022-08-02 10:42:38 +03:00
Stelios Tsampas
e58d33ee5d
Create shim legendary classes for overloaded functions
2022-08-02 10:42:37 +03:00