5 ms·
The other thing is.. installer generally only runs once on a single machine, not sure how useful it is to “show the changes since last run”
by shivawu 1y ago
The other thing is.. installer generally only runs once on a single machine, not sure how useful it is to “show the changes since last run”
- sgarland 1y agoThis. OP, tools often install their own update mechanisms (e.g. `uv self update`), so this may not be as useful as you think. As an alternative (albeit one that adds potential hosting costs), consider running a small DB - can be as simple as SQLite - with hashes of scripts. You also need to handle legitimate updates from the script's author[s], though. If you can extract versioning from the URL, e.g. GitHub releases, you could include that in the schema. I made a gist demonstrating a SQLite schema and using it via direct user input: https://gist.github.com/stephanGarland/5ee5281dedc3abcbc57faaefd6f9d501 https://gist.github.com/stephanGarland/5ee5281dedc3abcbc57fa...