Downloads: Add skip_dlcs
and with_dlcs
arguments.
This commit is contained in:
parent
3ee789a695
commit
e97e9fe841
|
@ -99,7 +99,7 @@ class DownloadThread(QThread):
|
|||
self._handle_postinstall(postinstall, self.item.download.igame)
|
||||
|
||||
dlcs = self.core.get_dlc_for_game(self.item.download.igame.app_name)
|
||||
if dlcs:
|
||||
if dlcs and not self.item.options.skip_dlcs:
|
||||
for dlc in dlcs:
|
||||
_exit_status.dlcs.append(
|
||||
{"app_name": dlc.app_name, "app_title": dlc.app_title, "app_version": dlc.app_version}
|
||||
|
|
|
@ -76,6 +76,8 @@ class LgndrInstallGameArgs:
|
|||
reset_sdl: bool = False
|
||||
skip_sdl: bool = False
|
||||
disable_https: bool = False
|
||||
skip_dlcs: bool = False
|
||||
with_dlcs: bool = False
|
||||
yes: bool = True
|
||||
# Rare: Extra arguments
|
||||
indirect_status: LgndrIndirectStatus = LgndrIndirectStatus()
|
||||
|
|
|
@ -23,6 +23,8 @@ class InstallOptionsModel:
|
|||
repair_and_update: bool = False
|
||||
no_install: bool = False
|
||||
ignore_space: bool = False
|
||||
skip_dlcs: bool = False
|
||||
with_dlcs: bool = False
|
||||
# Rare's internal arguments
|
||||
# FIXME: Do we really need all of these?
|
||||
create_shortcut: bool = True
|
||||
|
|
Loading…
Reference in a new issue