From c20ddb59db70a82d8861587f25f06b130bdd45ef Mon Sep 17 00:00:00 2001 From: Jarr3 Date: Tue, 30 Jan 2024 07:43:06 +0100 Subject: [PATCH] relax b2s tools should not allow to be run as admin for B2SBackglassServerEXE #75 --- .../b2s_screenresidentifier/B2S_ScreenResIdentifier.vb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/b2s_screenresidentifier/b2s_screenresidentifier/B2S_ScreenResIdentifier.vb b/b2s_screenresidentifier/b2s_screenresidentifier/B2S_ScreenResIdentifier.vb index bd010f5..20a99f7 100644 --- a/b2s_screenresidentifier/b2s_screenresidentifier/B2S_ScreenResIdentifier.vb +++ b/b2s_screenresidentifier/b2s_screenresidentifier/B2S_ScreenResIdentifier.vb @@ -10,7 +10,8 @@ Module B2S_ScreenResIdentifier Sub Main() If IsAdmin() Then MessageBox.Show("You should not start this as Administrator!", My.Resources.AppTitle, MessageBoxButtons.OK, MessageBoxIcon.Stop) - Exit Sub + ' Too much noice here if we would quit out... + 'Exit Sub End If Application.EnableVisualStyles()