Skip to content

Commit

Permalink
relax b2s tools should not allow to be run as admin for B2SBackglassS…
Browse files Browse the repository at this point in the history
…erverEXE #75
  • Loading branch information
JockeJarre committed Jan 30, 2024
1 parent 746305b commit c20ddb5
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit c20ddb5

Please sign in to comment.