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

@@ -13,7 +13,7 @@ namespace Pilz.Updating.UpdateInstaller
{
if (string.IsNullOrEmpty(p))
{
p = Path.GetDirectoryName(Assembly.GetEntryAssembly().Location);
p = Path.GetDirectoryName(IO.Extensions.GetExecutablePath());
}
return p;