f
This commit is contained in:
@@ -877,6 +877,8 @@ def main(argv: Optional[list[str]] = None) -> int:
|
||||
print("\nSetup cancelled.")
|
||||
return 0
|
||||
|
||||
# Expand variables like $HOME or %USERPROFILE% and ~
|
||||
args.root = os.path.expandvars(args.root)
|
||||
root = Path(args.root).expanduser().resolve()
|
||||
# Python executable inside the repo venv (set when we create/find the venv)
|
||||
venv_py = None
|
||||
@@ -886,6 +888,7 @@ def main(argv: Optional[list[str]] = None) -> int:
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
args.dest_name = os.path.expandvars(args.dest_name)
|
||||
dest = root / args.dest_name
|
||||
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user