Skip to content

Commit

Permalink
Add secondary source for checksums and signatures
Browse files Browse the repository at this point in the history
... to not inflate download counts with automatic updates.
  • Loading branch information
ungive committed Aug 27, 2024
1 parent cba3c92 commit 3979c08
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/releases/2.1.3/sha256sum.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
69a7f9658fb9bf697cddec0fc10c8524c3788ef7d8cab25fb8ad09ab0bb396df *music-presence-2.1.3-mac-arm64.dmg
bea276349c2fa7a75c7f1c33019970b9aadcabad13a5e8d759632ee15cf49b30 *music-presence-2.1.3-mac-x64.dmg
08d686713fabe2208593483802752ed0c44fb5f86513fb077da2131a74b21ccc *music-presence-2.1.3-win64.exe
00e1e00e4583fc91d29efb7fd9c6aeede252d4348843b2315fb28f6b92bd5ba1 *music-presence-2.1.3-win64.zip
1 change: 1 addition & 0 deletions docs/releases/2.1.3/sha256sum.txt.sig
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
쒬Ϸ勑高좽繑䠿篈涗爹덲쐦길䈒ݑꞁᷙ毃ṋ钮퉍ஹꞁ渉⾛끇醵抢槩嶬뫺
17 changes: 17 additions & 0 deletions docs/releases/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Checksums and signatures for releases

This directory contains checksum and signature files of each release,
in addition to them being published with a GitHub release.
The automatic updater downloads these files from these links:

- https://ungive.github.io/discord-music-presence/releases/2.1.3/sha256sum.txt
- https://ungive.github.io/discord-music-presence/releases/2.1.3/sha256sum.txt.sig

This is done so that the download counter on GitHub is not artifically inflated
and does not show more downloads than there actually are.
If this wasn't done any automatic update would increase the counter by 3
instead of 1.

Unfortunately the badge in the README can't filter out specific files[^1].

[^1]: https://shields.io/badges/git-hub-downloads-all-assets-latest-release

0 comments on commit 3979c08

Please sign in to comment.