Skip to content

Commit

Permalink
Installer: Abort /usr/bin/ check when pressing escape key
Browse files Browse the repository at this point in the history
  • Loading branch information
phil294 committed Mar 30, 2024
1 parent 5c4636f commit 2b3ece3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/installer.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ If A_IsAdmin = 1
IfExist, /usr/bin/ahk_x11
{
MsgBox, 4,, It seems like AHK_X11 is already installed globally. By continuing, this version will also be installed, but locally for the current user. Two simultaneous installations ins probably a bad idea. Are you sure you want to continue?
IfMsgBox, No
ExitApp
IfMsgBox, No
ExitApp
IfMsgBox, Cancel
ExitApp
}

app_name = ahk_x11
Expand Down

0 comments on commit 2b3ece3

Please sign in to comment.