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