mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-13 12:33:01 +03:00
Unwrapped CreateDirectory and DeleteDirectory
This commit is contained in:
@@ -327,7 +327,7 @@ namespace IsoMounter
|
||||
|
||||
try
|
||||
{
|
||||
FileSystem.CreateDirectory(mountPoint);
|
||||
Directory.CreateDirectory(mountPoint);
|
||||
}
|
||||
catch (UnauthorizedAccessException)
|
||||
{
|
||||
@@ -377,7 +377,7 @@ namespace IsoMounter
|
||||
|
||||
try
|
||||
{
|
||||
FileSystem.DeleteDirectory(mountPoint, false);
|
||||
Directory.Delete(mountPoint, false);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
@@ -455,7 +455,7 @@ namespace IsoMounter
|
||||
|
||||
try
|
||||
{
|
||||
FileSystem.DeleteDirectory(mount.MountedPath, false);
|
||||
Directory.Delete(mount.MountedPath, false);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user