From fe3de308e75cdad1f0b69a22a5e166f06bb22708 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Lidwin?= Date: Tue, 27 May 2025 22:11:57 +0200 Subject: [PATCH] feat: automatically use a namespace of already installed app when updating/repairing --- legendary/cli.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/legendary/cli.py b/legendary/cli.py index 86d4ef9..8712075 100644 --- a/legendary/cli.py +++ b/legendary/cli.py @@ -822,6 +822,8 @@ class LegendaryCLI: args.app_name = self._resolve_aliases(args.app_name) if self.core.is_installed(args.app_name): igame = self.core.get_installed_game(args.app_name) + if not args.namespace: + args.namespace = igame.namespace args.platform = igame.platform if igame.needs_verification and not args.repair_mode: logger.info('Game needs to be verified before updating, switching to repair mode...')