- It asks GitHub for the latest published release of
taddeimania/latheand compares it with the installed version. - If there's a newer one, it shows the release notes. Update then:
- downloads that release's build for your platform,
- checks the download's size and the SHA-256 checksum GitHub publishes,
- replaces Lathe in place.
- Your projects, templates, settings and plug-ins aren't touched.
- On the Mac it replaces
Lathe.appwherever you keep it (the patcher lives inside it, inContents/Helpers). - On Windows and Linux it replaces the files in Lathe's folder. Files that are in use, such as a running
Lathe.exe, are renamed to*.oldand removed the next time Lathe starts. Quit Lathe and reopen it to use the new version. - If anything fails partway, the old files are put back.
Notes:
- The repository must be public, and the release must be published (not a draft) for the patcher to see it.
- The first release that includes the patcher has to be downloaded by hand once. After that, use the patcher.
LATHE_UPDATE_URL=<url of a release JSON>points the patcher at another feed, for testing.