mirror of
				https://github.com/cmderdev/cmder.git
				synced 2025-10-31 09:22:15 +08:00 
			
		
		
		
	Minor edits to AppVeyor build scripts
This commit is contained in:
		| @@ -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> | ||||
|   | ||||
| @@ -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 | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user