diff --git a/src/latest_release.tcl b/src/latest_release.tcl index 02b990b..1c420e8 100755 --- a/src/latest_release.tcl +++ b/src/latest_release.tcl @@ -19,6 +19,10 @@ proc GetLatestRelease {} { Trace "Found latest release $version" return $version } + if { [regexp {.*\/github\.com\/lenosisnickerboa\/csgosl\/releases\/tag\/v(.*)\".*} $line -> version] } { + Trace "Found latest release $version" + return $version + } } return "" } diff --git a/src/version.tcl b/src/version.tcl index 115d6a6..1f3c230 100755 --- a/src/version.tcl +++ b/src/version.tcl @@ -3,4 +3,4 @@ # The next line is executed by /bin/sh, but not tcl \ exec wish "$0" ${1+"$@"} -set version "2.18" +set version "2.19"