Change install check to .dll
This commit is contained in:
parent
c490df56d0
commit
541d1b4bca
|
@ -65,7 +65,7 @@ namespace UpTool2
|
|||
Online = Ping(metaXml);
|
||||
|
||||
#if !DEBUG
|
||||
if (Application.ExecutablePath != PathTool.GetRelative("Install", "UpTool2.exe"))
|
||||
if (Application.ExecutablePath != PathTool.GetRelative("Install", "UpTool2.dll"))
|
||||
{
|
||||
if (!Online)
|
||||
throw new WebException("Could fetch Metadata (are you online?)");
|
||||
|
|
Reference in New Issue
Block a user