diff --git a/get-cameleer.ps1 b/get-cameleer.ps1 index 5184fed..e936ead 100644 --- a/get-cameleer.ps1 +++ b/get-cameleer.ps1 @@ -51,10 +51,9 @@ Write-Host '' Write-Host "Installer downloaded to $Dir\ — launching..." Write-Host '' -Set-Location $Dir +$installerPath = Join-Path $Dir 'install.ps1' if ($InstallerArgs) { - & .\install.ps1 @InstallerArgs + & $installerPath @InstallerArgs } else { - & .\install.ps1 + & $installerPath } -exit $LASTEXITCODE