Expand description
Newer releases: whether one is out, and how to update the way this copy was installed.
artifactize never updates itself. Every install channel keeps its own update path, and
only the Microsoft Store updates on its own, so a newer release is told together with the
update command of the channel this copy came from (#316). The desktop app and
artifactize doctor show the same lookup, made at most once a day and kept in the state.
Structs§
- Status
- This copy, how it was installed and what its release lookup found.
Enums§
- Channel
- How this copy of artifactize was installed. Each channel has its own update path.
- Outcome
- What the lookup found.
- Unchecked
- Why releases were not looked up.
- Update
- How to update to a newer release.
Constants§
- OFF_
VARIABLE - Set to anything but empty, artifactize does not look up releases or contact GitHub.
- TEST_
ENDPOINT_ VARIABLE - A loopback URL standing in for the repository’s site, for tests: it answers the lookup
below [
TEST_LATEST_PATH], and the release’s pages and files are linked below it. It is asked even by a development build; its answer is kept as GitHub’s is, for its own site.
Functions§
- check
- Look up whether a newer release is out for this copy, reusing an answer kept in
statefor a day. It never fails: a failed lookup is itsOutcome::Failed. - check_
at - Check the current release and evaluate cache freshness against the supplied time.
- recheck_
interval - How long a long-running app waits before it asks
checkagain. - running
- This copy’s version.
- shown_
update - Where a particular displayed release can be downloaded; never re-query latest on click.