mirror of
https://github.com/derrod/legendary.git
synced 2025-01-03 04:45:28 +00:00
[cli] Add flag to disable save game filtering
This commit is contained in:
parent
2ba036a654
commit
8f656c5a25
|
@ -332,7 +332,7 @@ class LegendaryCLI:
|
|||
logger.info('Not uploading...')
|
||||
continue
|
||||
logger.info('Uploading local savegame...')
|
||||
self.core.upload_save(igame.app_name, igame.save_path, dt_l)
|
||||
self.core.upload_save(igame.app_name, igame.save_path, dt_l, args.disable_filters)
|
||||
|
||||
def launch_game(self, args, extra):
|
||||
app_name = args.app_name
|
||||
|
@ -716,6 +716,8 @@ def main():
|
|||
help='Force download even if local saves are newer')
|
||||
sync_saves_parser.add_argument('--save-path', dest='save_path', action='store', metavar='<path>',
|
||||
help='Override savegame path (only if app name is specified)')
|
||||
sync_saves_parser.add_argument('--disable-filters', dest='disable_filters', action='store_true',
|
||||
help='Disable save game file filtering (in case it breaks)')
|
||||
|
||||
args, extra = parser.parse_known_args()
|
||||
|
||||
|
|
Loading…
Reference in a new issue