mirror of
https://github.com/Radarr/Radarr
synced 2025-12-19 23:03:56 +01:00
Make macOS updater executable before running it
This commit is contained in:
parent
62efca5084
commit
e973701f1c
1 changed files with 6 additions and 0 deletions
|
|
@ -128,6 +128,12 @@ private void InstallUpdate(UpdatePackage updatePackage)
|
|||
_logger.Info("Preparing client");
|
||||
_diskTransferService.TransferFolder(_appFolderInfo.GetUpdateClientFolder(updatePackage.Version), updateSandboxFolder, TransferMode.Move, false);
|
||||
|
||||
// Set executable flag on update app
|
||||
if (OsInfo.IsOsx)
|
||||
{
|
||||
_diskProvider.SetPermissions(_appFolderInfo.GetUpdateClientExePath(), "0755", null, null);
|
||||
}
|
||||
|
||||
_logger.Info("Starting update client {0}", _appFolderInfo.GetUpdateClientExePath());
|
||||
_logger.ProgressInfo("Radarr will restart shortly.");
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue