mirror of
https://github.com/SuperClaude-Org/SuperClaude_Framework.git
synced 2025-12-29 16:16:08 +00:00
Update __main__.py
Signed-off-by: Mithun Gowda B <mithungowda.b7411@gmail.com>
This commit is contained in:
@@ -202,15 +202,6 @@ def main() -> int:
|
|||||||
parser, subparsers, global_parser = create_parser()
|
parser, subparsers, global_parser = create_parser()
|
||||||
operations = register_operation_parsers(subparsers, global_parser)
|
operations = register_operation_parsers(subparsers, global_parser)
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
# === PATCH to fix install_dir mismatch for Microsoft account ===
|
|
||||||
|
|
||||||
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 ===
|
|
||||||
|
|
||||||
# No operation provided? Show help manually unless in quiet mode
|
# No operation provided? Show help manually unless in quiet mode
|
||||||
if not args.operation:
|
if not args.operation:
|
||||||
|
|||||||
Reference in New Issue
Block a user