made the pack completely portable and wrote relevent bat files to go with it
This commit is contained in:
7
gitportable/mingw64/lib/tk8.6/pkgIndex.tcl
Normal file
7
gitportable/mingw64/lib/tk8.6/pkgIndex.tcl
Normal file
@@ -0,0 +1,7 @@
|
||||
if {![package vsatisfies [package provide 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.13 [list load [file normalize [file join $dir .. .. bin libtk8.6.dll]]]
|
||||
} else {
|
||||
package ifneeded Tk 8.6.13 [list load [file normalize [file join $dir .. .. bin tk86.dll]]]
|
||||
}
|
||||
Reference in New Issue
Block a user