mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-08 12:20:15 +00:00
7 lines
392 B
Tcl
7 lines
392 B
Tcl
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.8 [list load [file normalize [file join $dir .. .. bin libtk8.6.dll]] Tk]
|
|
} else {
|
|
package ifneeded Tk 8.6.8 [list load [file normalize [file join $dir .. .. bin tk86.dll]] Tk]
|
|
}
|