Skip to main content
Participant
Apr 12, 2022 9:56 AM UTC
Answered

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

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 is closed to new replies. Start a new post to keep the conversation going.
Taras5C4ECorrect answer
Participant
May 2, 2022 7:56 AM UTC

1 reply

Taras5C4EAuthorCorrect answer
Participant
May 2, 2022 7:56 AM UTC