mirror of
https://github.com/soarqin/DSP_Mods.git
synced 2026-08-06 00:00:23 +08:00
fix(UXAssist): preserve calling assembly semantics in Util facade
This commit is contained in:
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user