fix folder structure
This commit is contained in:
23
Pilz.Updating.UpdateInstaller/General.cs
Normal file
23
Pilz.Updating.UpdateInstaller/General.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using global::System.IO;
|
||||
using global::System.Reflection;
|
||||
|
||||
namespace Pilz.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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user