preparing for 1.0.2 release

This commit is contained in:
Shaun Walker
2020-07-23 15:07:18 -04:00
parent 51bf822392
commit 8d539d058c
10 changed files with 22 additions and 19 deletions

View File

@ -126,8 +126,10 @@ namespace Oqtane.Infrastructure
{
Directory.CreateDirectory(Path.GetDirectoryName(filename));
}
if (FileInUse(filename) == false)
if (!FileInUse(filename) == false)
{
entry.ExtractToFile(filename, true);
}
}
private static bool FileInUse(string path)
{
@ -139,11 +141,12 @@ namespace Oqtane.Infrastructure
}
return false;
}
catch (IOException ex)
catch
{
return true;
}
}
public void UpgradeFramework()
{
string folder = Path.Combine(_environment.WebRootPath, "Framework");