From 5e19d212620fe316c9880f807fccf5981a85f89a Mon Sep 17 00:00:00 2001 From: shashankvivek Date: Sun, 20 Jul 2025 15:12:58 +0200 Subject: [PATCH] fix:non-breaking space (U+00A0) installation error --- SuperClaude/__main__.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/SuperClaude/__main__.py b/SuperClaude/__main__.py index 87ead1f..971f4a6 100644 --- a/SuperClaude/__main__.py +++ b/SuperClaude/__main__.py @@ -203,14 +203,14 @@ def main() -> int: operations = register_operation_parsers(subparsers, global_parser) args = parser.parse_args() # === PATCH to fix install_dir mismatch for Microsoft account === -  -        actual_home = Path.home() + + actual_home = Path.home() -        # If SuperClaude thinks install_dir is not your real user folder, correct it -        if args.install_dir and not str(args.install_dir).startswith(str(actual_home)): -            print(f"[INFO] Overriding incorrect install path: {args.install_dir} → {actual_home}") -            args.install_dir = actual_home -        # === END PATCH === + # If SuperClaude thinks install_dir is not your real user folder, correct it + if args.install_dir and not str(args.install_dir).startswith(str(actual_home)): + print(f"[INFO] Overriding incorrect install path: {args.install_dir} → {actual_home}") + args.install_dir = actual_home + # === END PATCH === # No operation provided? Show help manually unless in quiet mode if not args.operation: