Skip to content

tpack 0.7.1

Latest

Choose a tag to compare

@mittelmark mittelmark released this 07 Jan 07:26

tpack - Tcl script file packer

Whats New:

  • Version 0.7.1 fixes issues on Windows not having environment variable USER but USERNAME
  • Version 0.7.0 fixes right issues in the tmp folder if two users on the same machine install the same application
  • Version 0.6.0 fixes lz4 compression so that always better compression ration is used.
  • Version 0.5.0 should be Tcl 9 compatible.

Tcl script file package which allows you do add all required packages and files to your application and run it as a standalone Tcl script on a system where Tcl/Tk is installed.

To see some example applications browse the examples at: https://github.com/mittelmark/tpack/tree/main/samples

For the installation just download tpack-b64.tcl to your file system, rename it to tpack and make it executable and place it into a folder belonging to your PATH variable.

Here an example on how you can install the script into you ~/.local/bin folder if that is part of your PATH variable:

$ wget https://github.com/mittelmark/tpack/releases/download/v0.7.1/tpack -O ~/.local/bin/tpack
$ chmod 755 ~/.local/bin/tpack
$ tpack --version
0.7.1

In case you use Tcl 8.4 or you encounter problems you can try to use tpack-tar.tcl which should be Tcl 8.4 compatible, but probably does not work with Tcl 9.0.