ソースを参照

Add files via upload

Daniel Voipan 5 年 前
コミット
c1b15f497a
1 ファイル変更1 行追加1 行削除
  1. 1 1
      BlackTools/Modules/BT.AutoUpdate.tcl

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

@@ -296,7 +296,7 @@ proc blacktools:update_start_download {hand chan new_version last_modify} {
     ::github::github update tclscripts BlackTools-TCL $black(actdir)
     blacktools:every 1000 {
 if {[file isdirectory $black(actdir)/BlackTools]} {
-    set size [blacktools:size "$black(actdir)/BlackTools"]
+    set size [llength [glob-r "$black(actdir)/BlackTools"]]
 if {$size == $black(current_size)} {
     blacktools:update_start_restore
     break