Files
skillshare/.github
Willie 4be28c1258 feat(herdr): let the panel update itself from the latest release (#839)
The panel had no version and no way to update: a user had to copy the mod folder again by hand and could not tell when a newer one existed.

The panel now carries version.js, the skillshare release it shipped with, which Release Please rewrites in every release. While shown it asks once an hour where GitHub's "latest release" link lands and offers "Update panel" when that release is newer. It compares against the published release, not main, because the panel parses the CLI's --json output and a panel from main may need an unreleased CLI.

The update clones only the mod's folder at that tag and copies it over the installed one. It first checks the folder holds the running panel's version, keeps the replaced files once in .bak-update-<version>, and holds every machine's lock until the reloaded panel returns it, because Herdr's reload ends every running task.
2026-11-10 23:01:39 +08:00
..
2026-05-11 03:41:47 +08:00