From e83a2c5ca2d47d26ca0266ad2d56724780423f94 Mon Sep 17 00:00:00 2001 From: RadRussianRus Date: Fri, 1 May 2020 18:05:17 +0300 Subject: [PATCH] Add missing snap script --- snap/scripts/kotatogram-launch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 snap/scripts/kotatogram-launch diff --git a/snap/scripts/kotatogram-launch b/snap/scripts/kotatogram-launch new file mode 100644 index 000000000..5a1e234df --- /dev/null +++ b/snap/scripts/kotatogram-launch @@ -0,0 +1,16 @@ +#!/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