mirror of
https://github.com/Radarr/Radarr
synced 2024-12-26 01:38:24 +00:00
delete target folder before update
This commit is contained in:
parent
bceaee27a3
commit
b6e4f5ed46
1 changed files with 1 additions and 0 deletions
|
@ -64,6 +64,7 @@ public void Start(string installationFolder)
|
|||
|
||||
try
|
||||
{
|
||||
_diskProvider.DeleteFolder(installationFolder, true);
|
||||
_diskProvider.CopyFolder(_appFolderInfo.GetUpdatePackageFolder(), installationFolder);
|
||||
}
|
||||
catch (Exception e)
|
||||
|
|
Loading…
Reference in a new issue