Overview
| Artifact ID: | 70e84cc1cf084cc8c509039d3dc14eddaa2e00f4af7dfdfa5878bc5cf6a52e3f |
|---|---|
| Ticket: | ad7bafd5e11cfa09e9ed91ae4acff706438705e1
auto_path/tcl_library consistency for zipfs filesystem |
| User & Date: | jan.nijtmans on 2024-10-07 08:20:59 |
Changes
- icomment:
> tclPkgUnknown will scan all base user folders for pkgIndex.tcl files eg things like //zipfs:/app/doc //zipfs:/app/modules I think the directory structure should be as simple as possible. The top-directory //zipfs:/app contains everything in the zip-file belonging to the executable. //zipfs:/app/tcl_library and //zipfs:/app/tk_library should be kept as-is, other subdirectories are free for anyone else's use. If someone wants its own module xxx to be added, it can be stored in //zipfs:/app/xxx, I see no need to add any deeper directory-structure to it. There is no need to unwrap and wrap a .vfs folder. The "zip" utility has a "-A" option which can add entries to an existing zip-file, even being attached to an executable. So adding your own "main.tcl" can be done like: <pre> zip -A tclsh90.exe main.tcl </pre> >Creating a wrapped executable as per the instructions in tip 430 works ... It would be useful to re-write those instructions using the "zip" utility.
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"