Skip to content

Commit 89ff576

Browse files
committed
XFCE's Launcher wants the .desktop file to be +x as well
-- add a --mode 755 for it
1 parent 101677b commit 89ff576

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

build/linux/dist/install.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,11 @@ xdg_install_f() {
4444
xdg-icon-resource install --context apps --size 256 "${SCRIPT_PATH}/lib/icons/256x256/apps/arduino.png" $RESOURCE_NAME
4545

4646
# Install the created *.desktop file
47-
xdg-desktop-menu install "${TMP_DIR}/${RESOURCE_NAME}.desktop"
47+
## XFCE's Launcher wants the .desktop file to be +x as well
48+
xdg-desktop-menu install --mode 755 "${TMP_DIR}/${RESOURCE_NAME}.desktop"
4849

4950
# Create icon on the desktop
50-
xdg-desktop-icon install "${TMP_DIR}/${RESOURCE_NAME}.desktop"
51+
xdg-desktop-icon install --mode 755 "${TMP_DIR}/${RESOURCE_NAME}.desktop"
5152

5253
# Install Arduino mime type
5354
xdg-mime install "${SCRIPT_PATH}/lib/${RESOURCE_NAME}.xml"

0 commit comments

Comments
 (0)