Skip to content

Commit

Permalink
Merge pull request #41 from pk5ls20/fix/install-ps1
Browse files Browse the repository at this point in the history
Fix the path issue of `install.ps1`
  • Loading branch information
JohanMabille authored Jun 17, 2024
2 parents ddc7f24 + 7287900 commit 9788d58
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions install.ps1
Original file line number Diff line number Diff line change
@@ -36,9 +36,9 @@ if ($choice -eq "y" -or $choice -eq "Y" -or $choice -eq "") {
}

Write-Output "Initializing micromamba in $prefix"
$MAMBA_INSTALL_PATH = Join-Path -Path $Env:LocalAppData -ChildPAth micromamba\micromamba.exe
$MAMBA_INSTALL_PATH = Join-Path -Path $Env:LocalAppData -ChildPath micromamba\micromamba.exe
Write-Output $MAMBA_INSTALL_PATH
& $MAMBA_INSTALL_PATH shell init -s powershell -p $Env:UserProfile\micromamba
& $MAMBA_INSTALL_PATH shell init -s powershell -p $prefix
} else {
Write-Output "`nYou can always initialize powershell pr cmd.exe with micromamba by running `nmicromamba shell init -s powershell -p $Env:UserProfile\micromamba`n"
Write-Output "`nYou can always initialize powershell or cmd.exe with micromamba by running `nmicromamba shell init -s powershell -p $Env:UserProfile\micromamba`n"
}

0 comments on commit 9788d58

Please sign in to comment.