Version 10 of TclApp

Updated 2013-09-02 15:15:37 by pooryorick

Summary

TclApp, a component of Tcl Dev Kit, is a tool to bundle Tcl scripts and related resources for deployment as a single-file executable.

See Also

prowrap
the TclPro analogue

Documentation

official reference

Description

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.

Comparison to sdx

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.

Whattclappsdxtclapp option to have sdx behaviour
get MP (mount point)starkit::topdirstarkit::topdir
Wrap pathMP/MP/lib/application/-anchor /
Start fileMP/main.tclOption -startfile with autogenerated main.tcl-nospecials
Custom Icon-iconMP/tclkit.ico
Custom windows text resources-stringinfoMP/tclkit.inf