Copy logo into output folder on build, fix broken tests
This commit is contained in:
parent
ca09588390
commit
dd15442dcd
|
@ -161,7 +161,7 @@ Function PackageTests()
|
||||||
Copy-Item $outputFolder\*.dll -Destination $testPackageFolder -Force
|
Copy-Item $outputFolder\*.dll -Destination $testPackageFolder -Force
|
||||||
Copy-Item $outputFolder\*.pdb -Destination $testPackageFolder -Force
|
Copy-Item $outputFolder\*.pdb -Destination $testPackageFolder -Force
|
||||||
|
|
||||||
Copy-Item .\*.sh -Destination $testPackageFolder -Force
|
Copy-Item .\*.sh -Destination $testPackageFolder -Force
|
||||||
|
|
||||||
get-childitem $testPackageFolder -File -Filter *log.config | foreach ($_) {remove-item $_.fullname}
|
get-childitem $testPackageFolder -File -Filter *log.config | foreach ($_) {remove-item $_.fullname}
|
||||||
|
|
||||||
|
@ -170,6 +170,8 @@ Function PackageTests()
|
||||||
Write-Host "Adding MediaInfoDotNet.dll.config (for dllmap)"
|
Write-Host "Adding MediaInfoDotNet.dll.config (for dllmap)"
|
||||||
Copy-Item "$sourceFolder\MediaInfoDotNet.dll.config" -Destination $testPackageFolder -Force
|
Copy-Item "$sourceFolder\MediaInfoDotNet.dll.config" -Destination $testPackageFolder -Force
|
||||||
|
|
||||||
|
Copy-Item "$outputFolder\64.png" -Destination $testPackageFolder -Force
|
||||||
|
|
||||||
Write-Host "##teamcity[progressFinish 'Creating Test Package']"
|
Write-Host "##teamcity[progressFinish 'Creating Test Package']"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -72,8 +72,7 @@ namespace NzbDrone.Core.Notifications.Growl
|
||||||
_logger = logger;
|
_logger = logger;
|
||||||
_notificationTypes = GetNotificationTypes();
|
_notificationTypes = GetNotificationTypes();
|
||||||
|
|
||||||
var iconPath = Path.Combine("UI", "Content", "Images", "logos", "64.png");
|
var bytes = File.ReadAllBytes("64.png");
|
||||||
var bytes = File.ReadAllBytes(iconPath);
|
|
||||||
|
|
||||||
_growlApplication.Icon = new BinaryData(bytes);
|
_growlApplication.Icon = new BinaryData(bytes);
|
||||||
}
|
}
|
||||||
|
|
|
@ -794,6 +794,9 @@
|
||||||
</ProjectReference>
|
</ProjectReference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
<Content Include="64.png">
|
||||||
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
<Content Include="MediaInfo.dll">
|
<Content Include="MediaInfo.dll">
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
|
|
Loading…
Reference in New Issue