File tree 2 files changed +6
-2
lines changed
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -555,10 +555,13 @@ function CopyAppFilesToFolder {
555
555
$appFile = $_
556
556
if ($appFile -like " http://*" -or $appFile -like " https://*" ) {
557
557
$appUrl = $appFile
558
- $appFile = Join-Path ([System.IO.Path ]::GetTempPath()) ([Guid ]::NewGuid().ToString())
558
+ $appFileFolder = Join-Path ([System.IO.Path ]::GetTempPath()) ([Guid ]::NewGuid().ToString())
559
+ $appFile = Join-Path $appFileFolder ([Uri ]::UnescapeDataString([System.IO.Path ]::GetFileName($appUrl.Split (' ?' )[0 ])))
559
560
Download- File - sourceUrl $appUrl - destinationFile $appFile
560
561
CopyAppFilesToFolder - appFile $appFile - folder $folder
561
- Remove-Item - Path $appFile - Force
562
+ if (Test-Path $appFileFolder ) {
563
+ Remove-Item - Path $appFileFolder - Force - Recurse
564
+ }
562
565
}
563
566
elseif (Test-Path $appFile - PathType Container) {
564
567
get-childitem $appFile - Filter ' *.app' - Recurse | ForEach-Object {
Original file line number Diff line number Diff line change 1
1
6.0.7
2
2
Issue 3347 Download-BcNuGetPackageToFolder to support package description for app name if title is not specified
3
3
Support dependency version templates on NuGet packages
4
+ Issue 3349 NuGet package files section name is wrong when using azure blob storage direct download url
4
5
5
6
6.0.6
6
7
Include Microsoft_Business Foundation Test Libraries.app when importing test libraries (and tests)
You can’t perform that action at this time.
0 commit comments