mirror of
https://github.com/immense/Remotely.git
synced 2025-10-26 11:27:15 +00:00
Change directory move to copy.
This commit is contained in:
parent
479d77bef8
commit
3374a19acb
@ -90,6 +90,7 @@
|
||||
<Prefer32Bit>true</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Microsoft.VisualBasic" />
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Configuration.Install" />
|
||||
<Reference Include="System.Data" />
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
using Microsoft.Win32;
|
||||
using Microsoft.VisualBasic.FileIO;
|
||||
using Microsoft.Win32;
|
||||
using Remotely.Shared.Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
@ -251,7 +252,7 @@ namespace Remotely.Agent.Installer.Win.Services
|
||||
}
|
||||
else if (Directory.Exists(entry))
|
||||
{
|
||||
Directory.Move(entry, Path.Combine(InstallPath, new DirectoryInfo(entry).Name));
|
||||
FileSystem.CopyDirectory(entry, Path.Combine(InstallPath, new DirectoryInfo(entry).Name), true);
|
||||
}
|
||||
await Task.Delay(1);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user