mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-28 23:06:43 -04:00
Update improvements
Include NzbDrone.Update in mono/osx package Do not ignore certificate warnings for services Check hash before extracting update New: Update support for Linux/OS X - see the wiki for more information
This commit is contained in:
@@ -447,5 +447,15 @@ namespace NzbDrone.Common.Disk
|
||||
|
||||
return driveInfo.VolumeLabel;
|
||||
}
|
||||
|
||||
public FileStream StreamFile(string path)
|
||||
{
|
||||
if (!FileExists(path))
|
||||
{
|
||||
throw new FileNotFoundException("Unable to find file: " + path, path);
|
||||
}
|
||||
|
||||
return new FileStream(path, FileMode.Open);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user