logging abstraction

This commit is contained in:
Shaun Walker
2019-10-26 11:00:45 -04:00
parent f59ec7bdac
commit e25bbe2e24
23 changed files with 79 additions and 72 deletions

View File

@ -17,7 +17,7 @@ namespace Oqtane.Infrastructure
this.environment = environment;
}
public void InstallPackages(string Folders)
public void InstallPackages(string Folders, bool Restart)
{
bool install = false;
string binfolder = Path.GetDirectoryName(Assembly.GetEntryAssembly().Location);
@ -73,7 +73,7 @@ namespace Oqtane.Infrastructure
}
}
if (install)
if (install && Restart)
{
// restart application
RestartApplication();