V3.15 iterim BR changes

This commit is contained in:
2025-10-17 14:26:33 +01:00
parent 0c463ad929
commit e39a36183a
8 changed files with 92 additions and 96 deletions

View File

@@ -64,7 +64,7 @@ namespace AiQ_GUI
{
StartAsAdmin(ExeLoc);
}
else if (runAsAdmin)
else if (Properties.Settings.Default.FirstRun && runAsAdmin)
{
try
{
@@ -86,6 +86,8 @@ namespace AiQ_GUI
Properties.Settings.Default.FirstRun = false;
Properties.Settings.Default.Save();
Application.Restart(); // Restart to not be in admin mode
}
catch (Exception ex)
{