Fixes to auto-download/start azsdk mcp (#6578)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
This commit is contained in:
parent
5d4324dd7d
commit
126452efd3
@ -1,7 +1,7 @@
|
||||
#!/bin/env pwsh
|
||||
|
||||
param(
|
||||
[string]$FileName = 'azsdk',
|
||||
[string]$FileName = 'Azure.Sdk.Tools.Cli',
|
||||
[string]$Package = 'azsdk',
|
||||
[string]$Version, # Default to latest
|
||||
[string]$InstallDirectory = (Join-Path $HOME ".azure-sdk-mcp" "azsdk"),
|
||||
@ -56,5 +56,5 @@ $exe = Install-Standalone-Tool `
|
||||
-Repository $Repository
|
||||
|
||||
if ($Run) {
|
||||
Start-Process -FilePath $exe -NoNewWindow -Wait
|
||||
}
|
||||
Start-Process -FilePath $exe -ArgumentList 'start' -NoNewWindow -Wait
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user