summaryrefslogtreecommitdiff
path: root/Master/tlpkg/tltcl/lib/tk8.6/pkgIndex.tcl
blob: e8a905f7befaba727373803931917c61b5c660dc (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.11 [list load [file normalize [file join $dir .. .. bin libtk8.6.dll]] Tk]
} else {
    package ifneeded Tk 8.6.11 [list load [file normalize [file join $dir .. .. bin tk86.dll]] Tk]
}