mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 01:45:28 +00:00
[core] Ignore path parameter if overlay is already installed
This commit is contained in:
parent
e5ba44ecfa
commit
bc1c27b8d2
|
@ -1745,7 +1745,11 @@ class LegendaryCore:
|
|||
_manifest, base_urls = self.get_cdn_manifest(EOSOverlayApp)
|
||||
manifest = self.load_manifest(_manifest)
|
||||
|
||||
path = path or os.path.join(self.get_default_install_dir(), 'EOS_Overlay')
|
||||
if igame := self.lgd.get_overlay_install_info():
|
||||
path = igame.install_path
|
||||
else:
|
||||
path = path or os.path.join(self.get_default_install_dir(), 'EOS_Overlay')
|
||||
|
||||
dlm = DLManager(path, base_urls[0])
|
||||
analysis_result = dlm.run_analysis(manifest=manifest)
|
||||
|
||||
|
|
Loading…
Reference in a new issue