Update index.html

Fix latest-release download links

The homepage built the download and signature URLs from an outdated
filename scheme (bal_<tag>.zip / .asc). Update them to the current
release asset names: bal_electrum_plugin_<tag>.zip and .zip.sig.
This commit is contained in:
2026-07-17 17:15:19 +00:00
parent 8d89d3b272
commit 56fdba228f

View File

@@ -629,9 +629,9 @@ items.forEach(d => {
if (data && data.tag_name) { if (data && data.tag_name) {
const tag = data.tag_name; const tag = data.tag_name;
link.textContent = tag; link.textContent = tag;
link.href = 'https://bitcoin-after.life/gitea/bitcoinafterlife/bal-electrum-plugin/releases/download/' + tag + '/bal_' + tag + '.zip'; link.href = 'https://bitcoin-after.life/gitea/bitcoinafterlife/bal-electrum-plugin/releases/download/' + tag + '/bal_electrum_plugin_' + tag + '.zip';
if (sig) { if (sig) {
sig.href = 'https://bitcoin-after.life/gitea/bitcoinafterlife/bal-electrum-plugin/releases/download/' + tag + '/bal_' + tag + '.zip.asc'; sig.href = 'https://bitcoin-after.life/gitea/bitcoinafterlife/bal-electrum-plugin/releases/download/' + tag + '/bal_electrum_plugin_' + tag + '.zip.sig';
sig.style.display = 'inline'; sig.style.display = 'inline';
} }
} }