summaryrefslogtreecommitdiff
path: root/Master/tlpkg/tltcl/lib/tk8.6/pkgIndex.tcl
blob: fcabf1128d98f8639fa4cd775c33a7e4ff9d658f (plain)
1
2
3
4
5
6
7
if {[catch {package present Tcl 8.6.0}]} return
if {($::tcl_platform(platform) eq "unix") && ([info exists ::env(DISPLAY)]
	|| ([info exists ::argv] && ("-display" in $::argv)))} {
    package ifneeded Tk 8.6.10 [list load [file normalize [file join $dir .. .. bin libtk8.6.dll]] Tk]
} else {
    package ifneeded Tk 8.6.10 [list load [file normalize [file join $dir .. .. bin tk86.dll]] Tk]
}