mirror of
https://github.com/immense/Remotely.git
synced 2025-10-26 11:27:15 +00:00
Fix bug in desktop wrapper.
This commit is contained in:
parent
bae1d1d628
commit
91aef8cb44
@ -79,7 +79,10 @@ namespace Remotely.Desktop.Win.Wrapper
|
||||
try
|
||||
{
|
||||
var currentVersionDir = Path.GetDirectoryName(targetExePath);
|
||||
Directory.Delete(currentVersionDir, true);
|
||||
if (Directory.Exists(currentVersionDir))
|
||||
{
|
||||
Directory.Delete(currentVersionDir, true);
|
||||
}
|
||||
Directory.CreateDirectory(currentVersionDir);
|
||||
ZipFile.ExtractToDirectory(zipPath, currentVersionDir);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user