root3nl / SupportApp

The Support App is developed by Root3, specialized in managing Apple devices. Root3 offers consultancy and support for organizations to get the most out of their Apple devices and is based in The Netherlands (Halfweg).
https://www.root3.nl
MIT License
585 stars 60 forks source link

Issues Running Script from Support.app #168

Closed shMorganson closed 3 months ago

shMorganson commented 4 months ago

I am trying to use a tile to run a script with the Support.app and when I put /Library/Application Support/company/file.sh the script doesn't run from the the Support.app. Nothing will happen. The file is set to execute and if I call it directly it runs without issues.

wakco commented 4 months ago

Known issue, has two parts, first try escaping the space i.e. /Library/Application\ Support/company/file.sh, then for prior to version 2.6 (which is still in beta), if escaping the space doesn't help. try installing the SupportHelper. Lastly, as a just in case, make sure file.sh has the execute permission (that is, when viewing the file with ls -l /Library/Application\ Support/company/file.sh, it should at least have read and execute permissions like r-x-rxr-x)

jordywitteman commented 3 months ago

Hi @shMorganson yes please try escaping the spaces in the file path. This will no longer be necessary with v2.6 and both formats will be supported.