Fixed path issue in desktop file for if spaces exist

This commit is contained in:
Paul Black 2022-07-24 22:00:15 -06:00
parent 690390a52a
commit b5f14ffd24

View file

@ -107,7 +107,7 @@ desktop_file_10 () {
echo "Type=Application" >> $DESKTOPFILE10
echo "Name=Polygon URL 10" >> $DESKTOPFILE10
echo "Comment=Play Polygon games!" >> $DESKTOPFILE10
echo "Exec=env WINEPREFIX=$WINEPREFIXX $WINEBIN $POLYGONPATH/Versions/version-386164ab165b55af/Polygon.exe %u" >> $DESKTOPFILE10
echo "Exec=env WINEPREFIX=$WINEPREFIXX $WINEBIN '$POLYGONPATH/Versions/version-386164ab165b55af/Polygon.exe' %u" >> $DESKTOPFILE10
echo "Categories=Game;" >> $DESKTOPFILE10
echo "MimeType=$MIMETYPE10;" >> $DESKTOPFILE10
@ -123,7 +123,7 @@ desktop_file_11 () {
echo "Type=Application" >> $DESKTOPFILE11
echo "Name=Polygon URL 11" >> $DESKTOPFILE11
echo "Comment=Play Polygon games!" >> $DESKTOPFILE11
echo "Exec=env WINEPREFIX=$WINEPREFIXX $WINEBIN $POLYGONPATH/Versions/version-9512c515176f9859/Polygon.exe %u" >> $DESKTOPFILE11
echo "Exec=env WINEPREFIX=$WINEPREFIXX $WINEBIN '$POLYGONPATH/Versions/version-9512c515176f9859/Polygon.exe' %u" >> $DESKTOPFILE11
echo "Categories=Game;" >> $DESKTOPFILE11
echo "MimeType=$MIMETYPE11;" >> $DESKTOPFILE11
@ -139,7 +139,7 @@ desktop_file_12 () {
echo "Type=Application" >> $DESKTOPFILE12
echo "Name=Polygon URL 12" >> $DESKTOPFILE12
echo "Comment=Play Polygon games!" >> $DESKTOPFILE12
echo "Exec=env WINEPREFIX=$WINEPREFIXX $WINEBIN $POLYGONPATH/Versions/version-f9324578ab26456f/Polygon.exe %u" >> $DESKTOPFILE12
echo "Exec=env WINEPREFIX=$WINEPREFIXX $WINEBIN '$POLYGONPATH/Versions/version-f9324578ab26456f/Polygon.exe' %u" >> $DESKTOPFILE12
echo "Categories=Game;" >> $DESKTOPFILE12
echo "MimeType=$MIMETYPE12;" >> $DESKTOPFILE12