Cleanup dual target and mono code

Fixes #1893
Fixes #1808
This commit is contained in:
Qstick
2022-10-15 20:26:01 -05:00
parent 3481168df5
commit bcc8370d05
24 changed files with 29 additions and 309 deletions
@@ -125,8 +125,8 @@ namespace NzbDrone.Update.UpdateEngine
_logger.Info("Copying new files to target folder");
_diskTransferService.MirrorFolder(_appFolderInfo.GetUpdatePackageFolder(), installationFolder);
// Set executable flag on Readarr app
if (OsInfo.IsOsx || (OsInfo.IsLinux && PlatformInfo.IsNetCore))
// Set executable flag on app
if (OsInfo.IsOsx || OsInfo.IsLinux)
{
_diskProvider.SetFilePermissions(Path.Combine(installationFolder, "Readarr"), "755", null);
}