diff --git a/_includes/google-analytics.html b/_includes/google-analytics.html index 0ef199e..85b492e 100644 --- a/_includes/google-analytics.html +++ b/_includes/google-analytics.html @@ -8,9 +8,6 @@ $('#release-deb').click(function(){ sendReleaseDownloadEvent('Debian'); }); - $('#release-fedora').click(function(){ - sendReleaseDownloadEvent('Fedora'); - }); $('#release-suse').click(function(){ sendReleaseDownloadEvent('OpenSUSE'); }); @@ -20,6 +17,9 @@ $('.event-aur').click(function(){ sendReleaseDownloadEvent('Arch Linux'); }); + $('.event-fedora').click(function(){ + sendReleaseDownloadEvent('Fedora'); + }); function sendReleaseDownloadEvent(label) { if (localStorage.getItem('downloaded-previously')) { diff --git a/_includes/index/releases.html b/_includes/index/releases.html index 48d4b59..047be77 100644 --- a/_includes/index/releases.html +++ b/_includes/index/releases.html @@ -34,10 +34,14 @@
  • - Fedora loading link... + Fedora Available for all current Fedora Linux Releases:
    + #

    - sudo dnf install packagename.rpm + + sudo dnf install ulauncher
  • diff --git a/assets/js/releases.js b/assets/js/releases.js index b0e6785..7a5cf03 100644 --- a/assets/js/releases.js +++ b/assets/js/releases.js @@ -48,6 +48,14 @@ jQuery(function($) { .attr('href', aurLink) .text(aurLink); + var fedoraLink = selectStable ? 'https://src.fedoraproject.org/rpms/ulauncher/' : + 'https://copr.fedorainfracloud.org/coprs/troycurtisjr/ulauncher/'; + $('#release-fedora') + .attr('href', fedoraLink) + .text(fedoraLink); + + $('#fedora-dev-repo').toggle(!selectStable); + var aurShell = selectStable ? 'git clone https://aur.archlinux.org/ulauncher.git && cd ulauncher && makepkg -is' : 'git clone https://aur.archlinux.org/ulauncher-git.git && cd ulauncher-git && makepkg -is'; $('#aur-shell').html(aurShell); @@ -75,12 +83,6 @@ jQuery(function($) { function renderReleaseLinks (r) { var dlIcon = ' '; $('#release-deb').html('' + dlIcon + r.assets.deb.name + ''); - if (r.assets.fedora33) { - $('#release-fedora').html(`${dlIcon}${r.assets.fedora.name} - ${dlIcon}${r.assets.fedora33.name}`); - } else { - $('#release-fedora').html('' + dlIcon + r.assets.fedora.name + ''); - } if (r.assets.suse) { $('.distro-icon.distro-opensuse').show(); $('#release-suse').html('' + dlIcon + r.assets.suse.name + ''); @@ -113,14 +115,10 @@ jQuery(function($) { } function getAssets(release) { - var suse = getAssetLink(release.assets, 'suse.rpm'); - var centos = getAssetLink(release.assets, 'centos7.rpm'); - var fedora = getAssetLink(release.assets, 'fedora.rpm'); - var fedora33 = getAssetLink(release.assets, 'fedora33.rpm'); var deb = getAssetLink(release.assets, '.deb'); - if ((fedora || fedora33) && deb) { - return { suse, centos, fedora, fedora33, deb }; + if (deb) { + return { deb }; } }