This commit is contained in:
Jamie.Rees 2017-03-10 16:30:05 +00:00
parent 706fc94eb3
commit f7f66d4c11
22 changed files with 789 additions and 41 deletions

View file

@ -184,8 +184,7 @@ namespace Ombi.Updater
private DirectoryInfo CreateTempPath()
{
try
{
try {
var location = Path.GetDirectoryName(Assembly.GetAssembly(typeof(Updater)).Location ?? string.Empty);
var path = Path.Combine(location, "UpdateTemp");
return Directory.CreateDirectory(path);