1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-14 11:23:42 +02:00

Add sqlite dylibs to mono package (in sqlite folder)

This commit is contained in:
Mark McDowall 2014-02-23 23:23:23 -08:00
parent 5672c42f24
commit cf3659bdef

View File

@ -101,6 +101,10 @@ Function PackageMono()
Write-Host Removing NzbDrone.Windows Write-Host Removing NzbDrone.Windows
get-childitem $outputFolderMono -File -Filter NzbDrone.Windows.* -Recurse | foreach ($_) {remove-item $_.fullname} get-childitem $outputFolderMono -File -Filter NzbDrone.Windows.* -Recurse | foreach ($_) {remove-item $_.fullname}
Write-Host "Adding sqlite dylibs"
New-Item -ItemType directory -Path "$outputFolderMono\sqlite"
Copy-Item "$sourceFolder\Libraries\sqlite\*.dylib" "$outputFolderMono\sqlite"
Get-ChildItem $outputFolderMono -File -Filter "NzbDrone.Console.exe*" -Recurse | foreach ($_) { Get-ChildItem $outputFolderMono -File -Filter "NzbDrone.Console.exe*" -Recurse | foreach ($_) {
$newName = $_.fullname -Replace ".Console","" $newName = $_.fullname -Replace ".Console",""