55
66; @Ahk2Exe-SetCompanyName Expertcoderz
77; @Ahk2Exe-SetDescription EC Autoclicker
8- ; @Ahk2Exe-SetVersion 1.0.0
8+ ; @Ahk2Exe-SetVersion 1.0.1
99
1010FILE_EXT := " .ac-profile"
1111REG_KEY_PATH := " HKCU\Software\Expertcoderz\Autoclicker"
@@ -826,7 +826,8 @@ Please try again later, or update EC Autoclicker manually if this error reoccurs
826826)" , " Update" , " Iconx 262144 "
827827 return
828828 }
829- if verNumMatch.1 = FileGetVersion (" ." ) {
829+ local thisVersion := SubStr (FileGetVersion (A_ScriptFullPath ), 1 , StrLen (FileGetVersion (A_ScriptFullPath )) - 2 )
830+ if verNumMatch.1 = thisVersion {
830831 add_log(" Version is up to date with the latest release" )
831832 if isManual
832833 MsgBox " Your version of EC Autoclicker is the latest (" verNumMatch.1 " )."
@@ -838,7 +839,7 @@ Please try again later, or update EC Autoclicker manually if this error reoccurs
838839 (
839840A newer version of EC Autoclicker ({}) is available.
840841Your current version is {}. Would you like to update now?
841- )" , verNumMatch.1, FileGetVersion( " . " ) ), " Update" , " YesNo Icon ? 262144 " ) = " Yes " {
842+ )" , verNumMatch.1, thisVersion ), " Update" , " YesNo Icon ? 262144 " ) = " Yes " {
842843 local DOWNLOAD_FILE_NAME := " EC-Autoclicker-New.exe"
843844 if A_ScriptName = DOWNLOAD_FILE_NAME {
844845 MsgBox " Please rename EC Autoclicker to something else before updating it." , " Update" , " Iconx 262144"
0 commit comments