From 3170d73cbe14531aa3cee309c2e7af36395a97dc Mon Sep 17 00:00:00 2001 From: RadRussianRus Date: Fri, 26 Jun 2020 07:58:19 +0300 Subject: [PATCH] Fix snap --- snap/scripts/kotatogram-launch | 16 ---------------- snap/snapcraft.yaml | 2 +- 2 files changed, 1 insertion(+), 17 deletions(-) delete mode 100755 snap/scripts/kotatogram-launch diff --git a/snap/scripts/kotatogram-launch b/snap/scripts/kotatogram-launch deleted file mode 100755 index 5a1e234df..000000000 --- a/snap/scripts/kotatogram-launch +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh - -if [ ! -d $SNAP/kf5/usr ]; then - runtime="kde-frameworks-5-core18" - slot="kde-frameworks-5-core18:kde-frameworks-5-core18-slot" - - echo "You need to connect this snap to the $runtime snap." - echo "" - echo "You can do this with those commands:" - echo "snap install $runtime" - echo "snap refresh $runtime" - echo "snap connect $SNAP_NAME:kde-frameworks-5-plug $slot" - exit 1 -fi - -exec kotatogram-desktop "$@" \ No newline at end of file diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 6ce20f35b..832893eca 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -13,7 +13,7 @@ architectures: - build-on: ppc64el apps: - telegram-desktop: + kotatogram-desktop: command: bin/desktop-launch kotatogram-desktop common-id: io.github.kotatogram desktop: usr/share/applications/kotatogramdesktop.desktop