mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07: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 @@ namespace NzbDrone.Update.UpdateEngine
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
_diskProvider.DeleteFolder(installationFolder, true);
|
||||||
_diskProvider.CopyFolder(_appFolderInfo.GetUpdatePackageFolder(), installationFolder);
|
_diskProvider.CopyFolder(_appFolderInfo.GetUpdatePackageFolder(), installationFolder);
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue