mirror of
https://github.com/kunkunsh/kunkun-ext-neohtop.git
synced 2025-04-04 09:46:43 +00:00
adds download buttons for rpm packages
This commit is contained in:
parent
f14315b2d9
commit
57ae6db648
@ -196,6 +196,14 @@
|
||||
<span class="secondary">Universal Linux</span>
|
||||
</div>
|
||||
</a>
|
||||
<a href="" class="download-button linux" data-type="linux-rpm-x64" data-version="latest"
|
||||
style="margin-top: 10px;">
|
||||
<span class="icon">📦</span>
|
||||
<div class="button-text">
|
||||
<span class="primary">.rpm Package</span>
|
||||
<span class="secondary">Fedora/RHEL x86_64</span>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<!-- ARM64 Downloads -->
|
||||
@ -216,6 +224,14 @@
|
||||
<span class="secondary">Universal Linux ARM64</span>
|
||||
</div>
|
||||
</a>
|
||||
<a href="" class="download-button linux" data-type="linux-rpm-arm64" data-version="latest"
|
||||
style="margin-top: 10px;">
|
||||
<span class="icon">📦</span>
|
||||
<div class="button-text">
|
||||
<span class="primary">.rpm Package</span>
|
||||
<span class="secondary">Fedora/RHEL ARM64</span>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -420,12 +436,18 @@
|
||||
case 'linux-appimage-x64':
|
||||
newHref = `https://github.com/Abdenasser/neohtop/releases/download/v${versionNumber}/NeoHtop_${versionNumber}_x86_64.AppImage`;
|
||||
break;
|
||||
case 'linux-rpm-x64':
|
||||
newHref = `https://github.com/Abdenasser/neohtop/releases/download/v${versionNumber}/NeoHtop_${versionNumber}_x86_64.rpm`;
|
||||
break;
|
||||
case 'linux-deb-arm64':
|
||||
newHref = `https://github.com/Abdenasser/neohtop/releases/download/v${versionNumber}/NeoHtop_${versionNumber}_aarch64.deb`;
|
||||
break;
|
||||
case 'linux-appimage-arm64':
|
||||
newHref = `https://github.com/Abdenasser/neohtop/releases/download/v${versionNumber}/NeoHtop_${versionNumber}_aarch64.AppImage`;
|
||||
break;
|
||||
case 'linux-rpm-arm64':
|
||||
newHref = `https://github.com/Abdenasser/neohtop/releases/download/v${versionNumber}/NeoHtop_${versionNumber}_aarch64.rpm`;
|
||||
break;
|
||||
}
|
||||
|
||||
if (newHref) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user