fix internal template logic so that assembly name is determined dynamically

This commit is contained in:
sbwalker
2025-10-13 14:42:53 -04:00
parent db85d1fbc3
commit bc617db649
2 changed files with 5 additions and 3 deletions

View File

@@ -226,7 +226,8 @@ namespace Oqtane.Controllers
if (theme.Template.ToLower().Contains("internal"))
{
rootPath = Utilities.PathCombine(rootFolder.FullName, Path.DirectorySeparatorChar.ToString());
theme.ThemeName = theme.ThemeName + ", Oqtane.Client";
var assemblyName = Assembly.GetExecutingAssembly().GetName().Name;
theme.ThemeName = theme.ThemeName + ", " + assemblyName.Replace(".Server", ".Client");
}
else
{