From 9c4e4d27c8506568f76b938b8e935fe6942e7216 Mon Sep 17 00:00:00 2001 From: David Refoua Date: Sat, 15 Oct 2022 02:47:36 +0330 Subject: [PATCH] Minor edits to AppVeyor build scripts --- launcher/CmderLauncher.vcxproj | 5 ----- scripts/utils.ps1 | 4 ++-- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/launcher/CmderLauncher.vcxproj b/launcher/CmderLauncher.vcxproj index 7c647e0..ad94c45 100644 --- a/launcher/CmderLauncher.vcxproj +++ b/launcher/CmderLauncher.vcxproj @@ -177,11 +177,6 @@ copy $(TargetPath) $(SolutionDir)..\$(TargetFileName) - - - RC - - RC diff --git a/scripts/utils.ps1 b/scripts/utils.ps1 index 14f9b9f..e72e006 100644 --- a/scripts/utils.ps1 +++ b/scripts/utils.ps1 @@ -51,8 +51,8 @@ function Flatten-Directory($name) { $name = Resolve-Path $name $moving = "$($name)_moving" Rename-Item $name -NewName $moving - $child = Resolve-Path (Get-Childitem $moving)[0] - Write-Verbose "Moving the '$child' directory to '$name'" + Write-Verbose "Flattening the '$name' directory..." + $child = (Get-Childitem $moving)[0] | Resolve-Path Move-Item -Path $child -Destination $name Remove-Item -Recurse $moving }