Update installer

This commit is contained in:
sardelka9515
2022-10-15 15:30:58 +08:00
parent 411b199a98
commit d0b6bbaa3a
11 changed files with 66 additions and 76 deletions

View File

@ -25,7 +25,13 @@ namespace RageCoop.Client
{
if (AppDomain.CurrentDomain.GetData("RageCoop.Client.LoaderContext") == null)
{
throw new Exception($"Client not loaded with loader, please re-install using the installer to fix this issue");
var error = $"Client not loaded with loader, please re-install using the installer to fix this issue";
try
{
GTA.UI.Notification.Show("~r~" + error);
}
catch { }
throw new Exception(error);
}
}
public static SizeF ResolutionMaintainRatio