@@ -73,10 +73,25 @@ set vfsHandler [list ::vfs::zip::handler $::tclKitStorage_fd] unset ::tclKitStorage_fd } "cvfs" { set vfsHandler [list ::vfs::kitdll::vfshandler tcl] + + # Load these, the original Tclkit does so it should be safe. + foreach vfsfile [list vfsUtils vfslib] { + unset -nocomplain s + + catch { + set s [::vfs::kitdll::data::getData tcl "lib/vfs/${vfsfile}.tcl"] + } + + if {![info exists s]} { + continue + } + + uplevel #0 $s + } } } # mount the executable, i.e. make all runtime files available vfs::filesystem mount $mountpoint $vfsHandler