Hi,
I am trying to install Snapgene, which requires the license install script to be executed as the logged in user as described here: https://support.snapgene.com/hc/en-us/articles/10304162065172-Command-Line-Installation-and-Activation
My first attempt was simply to index using Composer, install Snapgene, execute script, build package with composer. Didn't work.
When I execute the script locally everything works as expected, whoever as soon as I try to deploy it using Jamf Pro it won't.
I then tried to follow https://scriptingosx.com/2020/08/running-a-command-as-another-user/ to no avail. The license won't be installed.
Is there another way, I'm not aware of, which would execute the script locally so everything works as expected?