mirror of
https://github.com/BepInEx/BepInEx.git
synced 2026-10-20 01:46:13 +00:00
Utility.ExecutingDirectory performance enhancement.
This commit is contained in:
1 parent
0aad00cadc
commit
b4493fd59e
1 file changed
+1
-1
@@ -15,7 +15,7 @@ namespace BepInEx.Common
|
||||
/// <summary>
|
||||
/// The directory that the game .exe is being run from.
|
||||
/// </summary>
|
||||
public static string ExecutingDirectory => Path.GetDirectoryName(Process.GetCurrentProcess().MainModule.FileName);
|
||||
public static string ExecutingDirectory { get; } = Path.GetDirectoryName(Process.GetCurrentProcess().MainModule.FileName);
|
||||
|
||||
/// <summary>
|
||||
/// The path that the plugins folder is located.
|
||||
|
||||
Reference in new issue
Block a user