migrate Assembly.GetEntryAssembly().Location to Pilz.IO
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user