mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 17:55:27 +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, base_urls = self.get_cdn_manifest(EOSOverlayApp)
|
||||||
manifest = self.load_manifest(_manifest)
|
manifest = self.load_manifest(_manifest)
|
||||||
|
|
||||||
|
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')
|
path = path or os.path.join(self.get_default_install_dir(), 'EOS_Overlay')
|
||||||
|
|
||||||
dlm = DLManager(path, base_urls[0])
|
dlm = DLManager(path, base_urls[0])
|
||||||
analysis_result = dlm.run_analysis(manifest=manifest)
|
analysis_result = dlm.run_analysis(manifest=manifest)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue