Skip to content

Commit

Permalink
Fix bug with FileInstall of ahk script
Browse files Browse the repository at this point in the history
  • Loading branch information
TAC109 committed Feb 8, 2022
1 parent 913976b commit 724ca0b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Directives.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ Directive_AddResource(state, rsrc, resName := "")
StrPut(fData1, &fData, "utf-8")
}
else if SubStr(resExt,1,2) = "ah" && resType = 10 ; Process AutoHotkey scripts
&& SubStr(state.PriorLine,1,1) != Chr(127) ; But not from FileInstall
{ OldA_s := [], OldA_s.Push(DerefIncludeVars.A_ScriptFullPath)
OldA_s.Push(DerefIncludeVars.A_ScriptName)
OldA_s.Push(DerefIncludeVars.A_ScriptDir)
Expand Down

0 comments on commit 724ca0b

Please sign in to comment.