mirror of https://github.com/noisymime/Arduino.git
reverse attempt to do permission bits inside the install phase, and
add this to the build specification /.xml instead
This commit is contained in:
parent
89ff576419
commit
1c23d5b020
|
@ -639,6 +639,7 @@
|
||||||
<chmod perm="ugo+x">
|
<chmod perm="ugo+x">
|
||||||
<fileset dir="linux/work" includes="arduino" />
|
<fileset dir="linux/work" includes="arduino" />
|
||||||
<fileset dir="linux/work" includes="**/*.sh" />
|
<fileset dir="linux/work" includes="**/*.sh" />
|
||||||
|
<fileset dir="linux/work/lib" includes="**/*desktop*" />
|
||||||
</chmod>
|
</chmod>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
|
|
@ -44,11 +44,10 @@ xdg_install_f() {
|
||||||
xdg-icon-resource install --context apps --size 256 "${SCRIPT_PATH}/lib/icons/256x256/apps/arduino.png" $RESOURCE_NAME
|
xdg-icon-resource install --context apps --size 256 "${SCRIPT_PATH}/lib/icons/256x256/apps/arduino.png" $RESOURCE_NAME
|
||||||
|
|
||||||
# Install the created *.desktop file
|
# Install the created *.desktop file
|
||||||
## XFCE's Launcher wants the .desktop file to be +x as well
|
xdg-desktop-menu install "${TMP_DIR}/${RESOURCE_NAME}.desktop"
|
||||||
xdg-desktop-menu install --mode 755 "${TMP_DIR}/${RESOURCE_NAME}.desktop"
|
|
||||||
|
|
||||||
# Create icon on the desktop
|
# Create icon on the desktop
|
||||||
xdg-desktop-icon install --mode 755 "${TMP_DIR}/${RESOURCE_NAME}.desktop"
|
xdg-desktop-icon install "${TMP_DIR}/${RESOURCE_NAME}.desktop"
|
||||||
|
|
||||||
# Install Arduino mime type
|
# Install Arduino mime type
|
||||||
xdg-mime install "${SCRIPT_PATH}/lib/${RESOURCE_NAME}.xml"
|
xdg-mime install "${SCRIPT_PATH}/lib/${RESOURCE_NAME}.xml"
|
||||||
|
|
Loading…
Reference in New Issue