浏览代码

Update BT.AutoUpdate.tcl

Daniel Voipan 5 年之前
父节点
当前提交
edce55f1fe
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      BlackTools/Modules/BT.AutoUpdate.tcl

+ 1 - 1
BlackTools/Modules/BT.AutoUpdate.tcl

@@ -36,7 +36,7 @@ if {[catch {package require github} no_github] != 0} {
 if {[catch {package require tls} no_tls] != 0} {
     return 0
 } else {
-    set tls_version [package versions tls]
+    set tls_version [lindex [package versions tls] 0]
     set need_version "1.7.18"
     set compare [package vcompare $tls_version $need_version]
 if {$compare < 0} {