Skip to content

Development

Nerokin edited this page Nov 24, 2026 · 1 revision

Layout

update-tools        the command: updates (-m, or the menu), make and remove
lib/load.sh         loads the shared libraries
lib/main.sh         the command, the mode loop and the one process_item every mode shares
lib/menu.sh         the fzf menu
lib/make.sh         update-tools make: a new item's cfg from a link
lib/managers.sh     github, gitlab, static, jsonfeed, dirlist, dateprobe
lib/appimages.sh    AppImage hooks: archives, desktop entries, icons; remove
lib/apworlds.sh     world hooks: zip checks, release zips with several worlds
lib/isos.sh         ISO hooks: checksums, free space, "folder"
lib/…               config files, network, progress display, files, flags

Every mode runs the same steps in process_item (lib/main.sh): load the cfg, look up the newest version, compare, download, validate, install, save the cfg. Where the modes really differ, each mode's module overrides a hook (item_setup, item_prepare_check, item_preflight, item_stage, item_validate, item_extras).

Branches

  • main: the Linux version.
  • windows: the PowerShell port in windows/ (see Windows), next to the Linux code it follows.

Changelog

CHANGELOG.md lists every change, and the git history follows the same format back to the first version, with each change credited to the user, Claude or Grok.

Issues

Bug reports and feature requests go through the issue forms. For a bug, the session log (~/.cache/update-tools/) or a run with -d helps most; remove tokens and private paths first.

Credits

Design and direction by Nykorin. The scripts were written with Claude (Anthropic), with modularization and later refactoring by Grok (xAI).

Clone this wiki locally