Skip to main content
Participant
April 12, 2022
Answered

Animate v22.0.5 system-wide $PATH tools not working inside extensions (Mac OS Monterey)

  • April 12, 2022
  • 1 reply
  • 209 views

I have a small Adobe Animate extension that uses TexturePacker (https://www.codeandweb.com/texturepacker) to pack sprites onto sprite sheets. I've successfully added TexturePacker to $PATH (/Applications/TexturePacker.app/Contents/MacOS) so it works from Terminal. The thing is that TexturePacker works from any location and any shell (I've installed command line tool (a link) inside usr/local/bin so it could be found). I've also tested how node.js exec() is implemented - it uses /bin/sh to execute commands and exec() works from any location too. (the extension is written using typescript and node.js).

Could it be that extensions are run inside some kind of sandbox and could not get global tools location? Is there any way to make it work from within my extension that uses /bin/sh?

This topic has been closed for replies.

1 reply

Taras5C4EAuthorCorrect answer
Participant
May 2, 2022