Files
Pilz.Updating/Pilz.UpdateInstaller/General.cs
2022-02-09 14:28:56 +01:00

23 lines
508 B
C#

using global::System.IO;
using global::System.Reflection;
namespace SM64_ROM_Manager.Updating.UpdateInstaller
{
internal static class General
{
private static string p = string.Empty;
public static string MyAppPath
{
get
{
if (string.IsNullOrEmpty(p))
{
p = Path.GetDirectoryName(Assembly.GetEntryAssembly().Location);
}
return p;
}
}
}
}