diff --git a/install_windows.ps1 b/install_windows.ps1 index 281d08a..0fcffef 100644 --- a/install_windows.ps1 +++ b/install_windows.ps1 @@ -126,6 +126,12 @@ function ProcessUrlFiles } continue } + + # Use $tmpApp as destination in case of git repo + if (-not $destinationDir) + { $destinationPath = "$tmpApp\$fileName" + } + # If the URL is a git repository, pull it if (IsGitRepository -dir $destinationPath -url $url) {