mirror of
https://github.com/kunkunsh/kunkun-ext-neohtop.git
synced 2025-04-11 17:29:45 +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>
|
<span class="secondary">Universal Linux</span>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</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>
|
</div>
|
||||||
|
|
||||||
<!-- ARM64 Downloads -->
|
<!-- ARM64 Downloads -->
|
||||||
@ -216,6 +224,14 @@
|
|||||||
<span class="secondary">Universal Linux ARM64</span>
|
<span class="secondary">Universal Linux ARM64</span>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</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>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -420,12 +436,18 @@
|
|||||||
case 'linux-appimage-x64':
|
case 'linux-appimage-x64':
|
||||||
newHref = `https://github.com/Abdenasser/neohtop/releases/download/v${versionNumber}/NeoHtop_${versionNumber}_x86_64.AppImage`;
|
newHref = `https://github.com/Abdenasser/neohtop/releases/download/v${versionNumber}/NeoHtop_${versionNumber}_x86_64.AppImage`;
|
||||||
break;
|
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':
|
case 'linux-deb-arm64':
|
||||||
newHref = `https://github.com/Abdenasser/neohtop/releases/download/v${versionNumber}/NeoHtop_${versionNumber}_aarch64.deb`;
|
newHref = `https://github.com/Abdenasser/neohtop/releases/download/v${versionNumber}/NeoHtop_${versionNumber}_aarch64.deb`;
|
||||||
break;
|
break;
|
||||||
case 'linux-appimage-arm64':
|
case 'linux-appimage-arm64':
|
||||||
newHref = `https://github.com/Abdenasser/neohtop/releases/download/v${versionNumber}/NeoHtop_${versionNumber}_aarch64.AppImage`;
|
newHref = `https://github.com/Abdenasser/neohtop/releases/download/v${versionNumber}/NeoHtop_${versionNumber}_aarch64.AppImage`;
|
||||||
break;
|
break;
|
||||||
|
case 'linux-rpm-arm64':
|
||||||
|
newHref = `https://github.com/Abdenasser/neohtop/releases/download/v${versionNumber}/NeoHtop_${versionNumber}_aarch64.rpm`;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (newHref) {
|
if (newHref) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user