Skip to content

Commit 942b173

Browse files
committed
Add sub-version check for base file *.exe allowed
1 parent 63ce73a commit 942b173

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Ahk2Exe.ahk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ FindBinsExes(File, Excl="AutoHotkeySC.bin|Ahk2Exe.exe", Mode="R",Phase="",Dup=0)
307307
{ if !(ExeFiles[Type.Version Type.Summary]) ; Keep only first of a version
308308
ExeFiles[Type.Version Type.Summary] := A_LoopFileLongPath
309309
wk := StrSplit(Type.Version,[".","-"]), Count++
310-
if !(wk.1 = 1 && wk.3 >= 34
310+
if !(wk.1 = 1 && wk.2 = 1 && wk.3 >= 34 || wk.1 = 2 && wk.2 > 0
311311
|| wk.1 = 2 && (wk.3 = wk.3+0 || wk.3 >= "a135"))
312312
continue
313313
} Count+=2

0 commit comments

Comments
 (0)