Skip to content

Commit

Permalink
Merge pull request #460 from OpportunityLiu/add-to-path
Browse files Browse the repository at this point in the history
fix nsis add to path
  • Loading branch information
waruqi authored Jun 19, 2019
2 parents a4d6849 + f264f50 commit ac73331
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion scripts/get.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ function xmakeInstall {
}
Write-Host 'Adding to PATH... almost done'
$env:Path += ";$installdir"
[Environment]::SetEnvironmentVariable("Path", [Environment]::GetEnvironmentVariable("Path", [System.EnvironmentVariableTarget]::User) + ";$installdir", [System.EnvironmentVariableTarget]::User) # this step is optional because installer writes path to regedit
try {
xmake --version
} catch {
Expand Down

0 comments on commit ac73331

Please sign in to comment.