Modified the package installer to use target folders ( based on the Nuget specification ) rather than file extensions

This commit is contained in:
Shaun Walker
2020-05-15 17:43:45 -04:00
parent 3cbb6e3e6e
commit 8a1e83ff7f
6 changed files with 25 additions and 20 deletions

View File

@ -163,7 +163,7 @@ namespace Oqtane
services.AddSingleton<IDatabaseManager, DatabaseManager>();
// install any modules or themes ( this needs to occur BEFORE the assemblies are loaded into the app domain )
InstallationManager.UnpackPackages("Modules,Themes", _webRoot);
InstallationManager.InstallPackages("Modules,Themes", _webRoot);
// register transient scoped core services
services.AddTransient<IModuleDefinitionRepository, ModuleDefinitionRepository>();