Repository navigation
Adding items
Nerokin edited this page Nov 24, 2026
·
1 revision
A new item needs a cfg in its mode's folder. update-tools make writes one from a link; Cfg reference describes the format for writing one by hand.
update-tools make -m app https://github.com/TwilitRealm/dusklight
update-tools -m apw make -p https://github.com/OrcThrowman/7-Days-to-Die-AP
update-tools make -m iso -u https://geo.mirror.pkgbuild.com/iso/latest/archlinux-x86_64.iso archlinux-m is app, apw or iso, before or after make (so are -r and -d); the link comes next or after -u (-u is make's own option), then an optional name for the cfg. update-tools make -h shows its options. It reads the link, writes the cfg, and checks it with the same lookup the updaters use before saving it. The next update-tools run for that kind installs the item.
| Option | Meaning |
|---|---|
-m, --mode TYPE
|
app, apw or iso; required |
-u, --url LINK
|
the link, instead of as the first argument |
-l, --latest
|
the latest stable release (the default; GitHub) |
-p, --prerelease
|
the newest release, pre-releases included (GitHub) |
-r, --root DIR
|
the item folder (default: the mode's) |
-d, --debug
|
explain each decision |
-
GitHub or GitLab projects: it takes the latest stable release with something installable (
-l, the default), or with-pthe newest release, pre-releases included; the cfg then keeps to that choice ("allow_prereleases": "false"or"true"). It ignores builds for other systems and architectures, and turns the file name into a pattern that matches later versions. If several files are left, it lists them; pass the link of the one you want instead. - Any other link: it becomes a fixed download.
-
ISOs: it also looks for a checksum file next to the ISO. Set
"folder"to the ISO's folder on the drive afterwards. - dirlist, dateprobe and jsonfeed cfgs aren't made from a link: write them by hand, after the examples and the managers' table in Cfg reference.
- If no pattern can tell the chosen file apart from another file in the same release (say
tool-1.0-linux.AppImageandtool-1.0b-linux.AppImage), it writes nothing and lists the other matches; write that cfg by hand with a"repo_regex".
It never overwrites an existing cfg, and warns when another cfg already uses the same repo or URL (several worlds may share one repo).