mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
Fixed: Set permissions on Sonarr.app (OS X)
This commit is contained in:
parent
61ae7dc189
commit
f18ad21b48
1 changed files with 6 additions and 0 deletions
|
@ -91,6 +91,12 @@ namespace NzbDrone.Update.UpdateEngine
|
||||||
|
|
||||||
_logger.Info("Copying new files to target folder");
|
_logger.Info("Copying new files to target folder");
|
||||||
_diskProvider.CopyFolder(_appFolderInfo.GetUpdatePackageFolder(), installationFolder);
|
_diskProvider.CopyFolder(_appFolderInfo.GetUpdatePackageFolder(), installationFolder);
|
||||||
|
|
||||||
|
// Set executable flag on SOnarr app
|
||||||
|
if (OsInfo.IsOsx)
|
||||||
|
{
|
||||||
|
_diskProvider.SetPermissions(Path.Combine(installationFolder, "Sonarr"), "0755", null, null);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue