Minor edits to AppVeyor build scripts

This commit is contained in:
David Refoua 2022-10-15 02:47:36 +03:30 committed by GitHub
parent 489078763d
commit 9c4e4d27c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 7 deletions

View File

@ -177,11 +177,6 @@
<Command>copy $(TargetPath) $(SolutionDir)..\$(TargetFileName)</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>
<ResourceCompile Include="src\version.rc2">
<FileType>RC</FileType>
</ResourceCompile>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="src\resource.rc">
<FileType>RC</FileType>

View File

@ -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
}