Skip to content

Commit

Permalink
Clarify in-app download source of checksums and signatures
Browse files Browse the repository at this point in the history
  • Loading branch information
ungive committed Sep 3, 2024
1 parent 6b6a911 commit 929b886
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions documentation/automatic-updates.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,21 @@ and the checksum is computed and compared as described in the next section.
If everything is valid, the download is ready for installation
and is installed automatically if automatic updates are enabled.

Note that the last two files above (checksums and signature)
are NOT downloaded from the GitHub release itself,
but from the following URLs (at the example of version 2.1.3):

- https://pages.musicpresence.app/releases/2.1.3/sha256sum.txt
- https://pages.musicpresence.app/releases/2.1.3/sha256sum.txt.sig

These files are hosted
[on GitHub as well](https://github.com/ungive/discord-music-presence/tree/master/docs/releases)
and have the same content as the files attached to the release.
The reason for not downloading the from the release
is to not artifically inflate the GitHub download counter.
Otherwise one in-app or automatic update
would cause the download counter to increase by 3 instead of 1.

[^1]: Music Presence releases:
https://github.com/ungive/discord-music-presence/releases
[^2]: GitHub API documentation: https://docs.github.com/en/rest
Expand Down

0 comments on commit 929b886

Please sign in to comment.