diff --git a/code/worker.sh b/code/worker.sh index 5b4d3939..4df6e3e6 100644 --- a/code/worker.sh +++ b/code/worker.sh @@ -135,7 +135,7 @@ echo "ICON_NAME: ${ICON_NAME}" # Then, try scaleable icon from usr/share # matching the Icon= entry in the desktop file -ICONFILE=$(find "$APPDIR" -name "$ICON_NAME.svg*" -path "*/scalable/*") +ICONFILE=$(find "$APPDIR" -name "$ICON_NAME.svg*" -path "*/scalable/*" | head -n 1) # Then, try large icons from usr/share # matching the Icon= entry in the desktop file