Skip to content

Commit 1c23d5b

Browse files
committed
reverse attempt to do permission bits inside the install phase, and
add this to the build specification /.xml instead
1 parent 89ff576 commit 1c23d5b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

build/build.xml

+1
Original file line numberDiff line numberDiff line change
@@ -639,6 +639,7 @@
639639
<chmod perm="ugo+x">
640640
<fileset dir="linux/work" includes="arduino" />
641641
<fileset dir="linux/work" includes="**/*.sh" />
642+
<fileset dir="linux/work/lib" includes="**/*desktop*" />
642643
</chmod>
643644
</target>
644645

build/linux/dist/install.sh

+2-3
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,10 @@ 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-
## XFCE's Launcher wants the .desktop file to be +x as well
48-
xdg-desktop-menu install --mode 755 "${TMP_DIR}/${RESOURCE_NAME}.desktop"
47+
xdg-desktop-menu install "${TMP_DIR}/${RESOURCE_NAME}.desktop"
4948

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

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

0 commit comments

Comments
 (0)