diff --git a/CampKeys.ahk b/CampKeys.ahk index 96c0302..7a29e47 100644 --- a/CampKeys.ahk +++ b/CampKeys.ahk @@ -14,10 +14,8 @@ Menu, Tray, Tip, CampKeys ;; Admin Priveleges ; https://autohotkey.com/docs/commands/Run.htm#RunAs full_command_line := DllCall("GetCommandLine", "str") -if not (A_IsAdmin or RegExMatch(full_command_line, " /restart(?!\S)")) -{ - try - { +if not (A_IsAdmin or RegExMatch(full_command_line, " /restart(?!\S)")) { + try { if A_IsCompiled { Run *RunAs "%A_ScriptFullPath%" /restart } diff --git a/CampKeys.exe b/CampKeys.exe deleted file mode 100644 index 2fcee57..0000000 Binary files a/CampKeys.exe and /dev/null differ