File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 44 [string ]$FileName = ' Azure.Sdk.Tools.Cli' ,
55 [string ]$Package = ' azsdk' ,
66 [string ]$Version , # Default to latest
7- [string ]$InstallDirectory = ( Join-Path $HOME " .azure-sdk-mcp " " azsdk " ) ,
7+ [string ]$InstallDirectory = ' ' ,
88 [string ]$Repository = ' Azure/azure-sdk-tools' ,
99 [string ]$RunDirectory = (Resolve-Path (Join-Path $PSScriptRoot .. .. ..)),
1010 [switch ]$Run ,
@@ -14,6 +14,11 @@ param(
1414
1515$ErrorActionPreference = " Stop"
1616
17+ if (-not $InstallDirectory )
18+ {
19+ $homeDir = if ($env: HOME ) { $env: HOME } else { $env: USERPROFILE }
20+ $InstallDirectory = (Join-Path $homeDir " .azure-sdk-mcp" " azsdk" )
21+ }
1722. (Join-Path $PSScriptRoot ' ..' ' scripts' ' Helpers' ' AzSdkTool-Helpers.ps1' )
1823
1924if ($Clean ) {
You can’t perform that action at this time.
0 commit comments