migrate Assembly.GetEntryAssembly().Location to Pilz.IO

This commit is contained in:
2023-11-20 18:18:53 +01:00
parent 1e093b69c5
commit 696e8b2d4f
4 changed files with 4 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ namespace Pilz.Updating.Administration.GUI
get
{
if (string.IsNullOrEmpty(myAppPath))
Path.GetDirectoryName(Assembly.GetEntryAssembly().Location);
Path.GetDirectoryName(IO.Extensions.GetExecutablePath());
return myAppPath;
}
}