Skip to content

Commit 0a5387e

Browse files
committed
Fix About GUI icon display for non-system-wide AHK installations
1 parent 0002a91 commit 0a5387e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/About.ahk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ AboutOpen(*) {
99
AboutGui.OnEvent("Escape", hideOwnedGui)
1010
AboutGui.OnEvent("Close", hideOwnedGui)
1111

12-
AboutGui.AddPicture("w40 h40", A_IsCompiled ? A_ScriptFullPath : A_ProgramFiles "\AutoHotkey\v2\AutoHotkey.exe")
12+
AboutGui.AddPicture("w40 h40", A_IsCompiled ? A_ScriptFullPath : A_AhkPath)
1313
AboutGui.SetFont("s12 bold")
1414
AboutGui.AddText("xp+50 yp", "EC Autoclicker version " (A_IsCompiled ? SubStr(FileGetVersion(A_ScriptFullPath), 1, -2) : "?"))
1515
AboutGui.SetFont()

0 commit comments

Comments
 (0)