Allow installation of Language packages through Language Management

This commit is contained in:
Shaun Walker
2021-05-05 19:03:06 -04:00
parent e836e27a5a
commit 38aebf5aff
9 changed files with 145 additions and 49 deletions

View File

@ -175,7 +175,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.InstallPackages("Modules,Themes", _env.WebRootPath, _env.ContentRootPath);
InstallationManager.InstallPackages("Modules,Themes,Packages", _env.WebRootPath, _env.ContentRootPath);
// register transient scoped core services
services.AddTransient<IModuleDefinitionRepository, ModuleDefinitionRepository>();