add snap show in menu fix

This commit is contained in:
Manuel 2022-12-17 15:13:39 -01:00
parent dc363b57bf
commit 637ea98a13
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
#!/bin/bash
# Workaround for using snapd on debian. Thank You - @stevesveryown and peppermint team..
[ ! -e /etc/skel/.local/share ] && mkdir -p /etc/skel/.local/share
[ ! -e /var/lib/snapd/desktop/applications ] &&
mkdir -p /var/lib/snapd/desktop/applications &&
chmod 777 /var/lib/snapd/desktop/applications
ln -s /var/lib/snapd/desktop/applications /etc/skel/.local/share/applications
ln -s snap /usr/bin/snap-store