1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2024-12-25 01:11:43 +00:00

Copy logo into output folder on build, fix broken tests

This commit is contained in:
Mark McDowall 2014-08-09 01:51:19 -07:00
parent ca09588390
commit dd15442dcd
3 changed files with 7 additions and 3 deletions

View file

@ -170,6 +170,8 @@ Function PackageTests()
Write-Host "Adding MediaInfoDotNet.dll.config (for dllmap)"
Copy-Item "$sourceFolder\MediaInfoDotNet.dll.config" -Destination $testPackageFolder -Force
Copy-Item "$outputFolder\64.png" -Destination $testPackageFolder -Force
Write-Host "##teamcity[progressFinish 'Creating Test Package']"
}

View file

@ -72,8 +72,7 @@ public GrowlService(Logger logger)
_logger = logger;
_notificationTypes = GetNotificationTypes();
var iconPath = Path.Combine("UI", "Content", "Images", "logos", "64.png");
var bytes = File.ReadAllBytes(iconPath);
var bytes = File.ReadAllBytes("64.png");
_growlApplication.Icon = new BinaryData(bytes);
}

View file

@ -794,6 +794,9 @@
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Content Include="64.png">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="MediaInfo.dll">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>