fix(UXAssist): preserve calling assembly semantics in Util facade

This commit is contained in:
2026-06-23 08:09:53 +08:00
parent ed916ebe7f
commit 439d74c817
4 changed files with 4 additions and 4 deletions
+9
View File
@@ -0,0 +1,9 @@
using System.IO;
using System.Reflection;
namespace UXAssist.Common.Utils;
public static class PathUtil
{
public static string PluginFolder(Assembly assembly = null) => Path.GetDirectoryName((assembly == null ? Assembly.GetCallingAssembly() : assembly).Location);
}