diff --git a/_includes/index/releases.html b/_includes/index/releases.html index deb7202..06eb399 100644 --- a/_includes/index/releases.html +++ b/_includes/index/releases.html @@ -21,11 +21,16 @@ Ubuntu (Debian) loading link...

- Install via PPA:
+ Install via PPA (Ubuntu):

+
+ Note that the above instructions are specifically for Ubuntu. For Debian instructions, click here to expand. +
+
+ Alternatively, you can download the .deb file and run:
- sudo apt install ./ulauncher_x.y.z_all.deb or just double click.
+ sudo apt install ./ulauncher_x.y.z_all.deb or right click and choose to open in your graphical installer (normally named "Software").
  • diff --git a/assets/js/releases.js b/assets/js/releases.js index 7bce9f6..4b75173 100644 --- a/assets/js/releases.js +++ b/assets/js/releases.js @@ -62,9 +62,18 @@ jQuery(function($) { 'git clone https://aur.archlinux.org/ulauncher-git.git && cd ulauncher-git && makepkg -is'; $('#aur-shell').html(aurShell); - var ubuntuPpa = selectStable ? 'sudo add-apt-repository ppa:agornostal/ulauncher && sudo apt update && sudo apt install ulauncher' : - 'sudo add-apt-repository ppa:agornostal/ulauncher-dev && sudo apt update && sudo apt install ulauncher'; - $('#ubuntu-ppa').html(ubuntuPpa); + var launchpadPackage = selectStable ? 'ulauncher' : 'ulauncher-dev'; + $('#ubuntu-ppa').html('sudo add-apt-repository ppa:agornostal/' + launchpadPackage + ' && sudo apt update && sudo apt install ulauncher'); + + var debianInstructions = 'sudo apt update && sudo apt install -y gnupg\n' + + 'gpg --keyserver keyserver.ubuntu.com --recv 0xfaf1020699503176\n' + + 'gpg --export 0xfaf1020699503176 | sudo tee /usr/share/keyrings/ulauncher-archive-keyring.gpg\n' + + 'sudo echo "deb [signed-by=/usr/share/keyrings/ulauncher-archive-keyring.gpg] \\\n' + + ' http://ppa.launchpad.net/agornostal/' + launchpadPackage + '/ubuntu focal main" \\\n' + + ' > /etc/apt/sources.list.d/' + launchpadPackage + '-focal.list\n' + + 'sudo apt update && sudo apt install ulauncher'; + + $('#debian-ppa').html("

    " + debianInstructions + "
    "); renderReleaseLinks(selectStable ? stable : dev); }