Add missing snap script
This commit is contained in:
parent
f0ebf2f255
commit
e83a2c5ca2
1 changed files with 16 additions and 0 deletions
16
snap/scripts/kotatogram-launch
Normal file
16
snap/scripts/kotatogram-launch
Normal file
|
|
@ -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 "$@"
|
||||
Loading…
Add table
Reference in a new issue