mirror of
https://github.com/jellyfin/BDInfo.git
synced 2024-11-23 14:19:41 +00:00
Fix reading of ISO images, which are already mounted.
This commit is contained in:
parent
6346924d78
commit
cdcd28f5a8
@ -97,7 +97,7 @@ namespace BDInfo
|
||||
if ((new FileInfo(path).Attributes & FileAttributes.Directory) != FileAttributes.Directory)
|
||||
{
|
||||
IsImage = true;
|
||||
IoStream = File.Open(path, FileMode.Open, FileAccess.Read, FileShare.None);
|
||||
IoStream = File.Open(path, FileMode.Open, FileAccess.Read, FileShare.Read);
|
||||
CdReader = new UdfReader(IoStream);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user