TclApp, a component of Tcl Dev Kit, is a tool to bundle Tcl scripts and related resources for deployment as a single-file executable.
In contrast to prowrap, which uses a limited ad-hoc variant of a virtual filesystem specifically written for it, TclApp is based on the complete and generic virtual filesystem of Tcl 8.4. It generates metakit-based starkits and starpacks.
Beyond that TclApp is capable of directly wrapping packages without the user being forced to specify all files in the package during wrapping. This is handled through package definition files which contain all the necessary information.
A companion tool, the TclApp Package Editor can be used to create and edit such files.
HaO 2011-06-09 tclapp standard behaviour is different to sdx. For most differences, there are options to gain compatibility. This is for migration purpose, the different behaviour is senseful.
What | tclapp | sdx | tclapp option to have sdx behaviour |
---|---|---|---|
get MP (mount point) | starkit::topdir | starkit::topdir | |
Wrap path | MP/ | MP/lib/application/ | -anchor / |
Start file | MP/main.tcl | Option -startfile with autogenerated main.tcl | -nospecials |
Custom Icon | -icon | MP/tclkit.ico | |
Custom windows text resources | -stringinfo | MP/tclkit.inf |