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> |       <Command>copy $(TargetPath) $(SolutionDir)..\$(TargetFileName)</Command> | ||||||
|     </PostBuildEvent> |     </PostBuildEvent> | ||||||
|   </ItemDefinitionGroup> |   </ItemDefinitionGroup> | ||||||
|   <ItemGroup> |  | ||||||
|     <ResourceCompile Include="src\version.rc2"> |  | ||||||
|       <FileType>RC</FileType> |  | ||||||
|     </ResourceCompile> |  | ||||||
|   </ItemGroup> |  | ||||||
|   <ItemGroup> |   <ItemGroup> | ||||||
|     <ResourceCompile Include="src\resource.rc"> |     <ResourceCompile Include="src\resource.rc"> | ||||||
|       <FileType>RC</FileType> |       <FileType>RC</FileType> | ||||||
|   | |||||||
| @@ -51,8 +51,8 @@ function Flatten-Directory($name) { | |||||||
|     $name = Resolve-Path $name |     $name = Resolve-Path $name | ||||||
|     $moving = "$($name)_moving" |     $moving = "$($name)_moving" | ||||||
|     Rename-Item $name -NewName $moving |     Rename-Item $name -NewName $moving | ||||||
|     $child = Resolve-Path (Get-Childitem $moving)[0] |     Write-Verbose "Flattening the '$name' directory..." | ||||||
|     Write-Verbose "Moving the '$child' directory to '$name'" |     $child = (Get-Childitem $moving)[0] | Resolve-Path | ||||||
|     Move-Item -Path $child -Destination $name |     Move-Item -Path $child -Destination $name | ||||||
|     Remove-Item -Recurse $moving |     Remove-Item -Recurse $moving | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user