This repository has been archived on 2023-03-25. You can view files and clone it, but cannot push or open issues or pull requests.
mightyscape-1.1-deprecated/extensions/fablabchemnitz/inkstitch/bin/tk/pkgIndex.tcl

8 lines
364 B
Tcl
Raw Normal View History

2021-07-23 02:36:56 +02:00
if {[catch {package present Tcl 8.5.0}]} { return }
if {($::tcl_platform(platform) eq "unix") && ([info exists ::env(DISPLAY)]
|| ([info exists ::argv] && ("-display" in $::argv)))} {
package ifneeded Tk 8.5.19 [list load [file join $dir .. .. bin libtk8.5.dll] Tk]
} else {
package ifneeded Tk 8.5.19 [list load [file join $dir .. .. bin tk85.dll] Tk]
}