mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-26 17:47:08 +00:00
Merge pull request #237 from Sonarr/osx-package-execute
Set permissions on Sonarr.app (OS X)
This commit is contained in:
commit
f831dbd789
1 changed files with 6 additions and 0 deletions
|
@ -91,6 +91,12 @@ public void Start(string installationFolder, int processId)
|
|||
|
||||
_logger.Info("Copying new files to target folder");
|
||||
_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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue