1 2
if {[catch {package present Tcl 8.6}]} {return} package ifneeded Tk 8.6.5 [list load [file join $dir .. libsdl2tk8.6[info sharedlibextension]] Tk]