Change install check to .dll

This commit is contained in:
CreepyCrafter24 2020-03-16 14:11:48 +01:00
parent c490df56d0
commit 541d1b4bca

View File

@ -65,7 +65,7 @@ namespace UpTool2
Online = Ping(metaXml); Online = Ping(metaXml);
#if !DEBUG #if !DEBUG
if (Application.ExecutablePath != PathTool.GetRelative("Install", "UpTool2.exe")) if (Application.ExecutablePath != PathTool.GetRelative("Install", "UpTool2.dll"))
{ {
if (!Online) if (!Online)
throw new WebException("Could fetch Metadata (are you online?)"); throw new WebException("Could fetch Metadata (are you online?)");