Scripts version 2264

This commit is contained in:
Mikhail Tergoev
2024-03-15 17:49:14 +03:00
parent e623b589e8
commit 2d6be9b1b0
12 changed files with 52 additions and 11 deletions

View File

@ -31,7 +31,9 @@ else
chmod u+x "${PORT_WINE_PATH}/${name_desktop}.desktop"
fi
if [[ ! -f /usr/bin/portproton ]] ; then
if [[ ! -f /usr/bin/portproton ]] \
&& ! grep -i "flatpak" /etc/os-release &>/dev/null
then
cp -f "${PORT_WINE_PATH}/${name_desktop}.desktop" ${HOME}/.local/share/applications/
fi