Posted on 08-05-2021 03:19 PM
Hello Comrades,
I'm trying to deploy apps using homebrew due to its "simplicity" but I've been cornered.
Looks like gatekeeper won't let me open these apps because they were not installed from the app store (I was taught that all apps installed via self service would open). *No, I can't move the gatekeeper settings due to security reasons.
Im using the following script to install Homebrew --> https://github.com/Honestpuck/homebrew.sh/blob/master/homebrew-3.3.sh
And this one for installing apps (Replacing "$4" for app name --> https://github.com/Honestpuck/homebrew.sh/blob/master/brew-install-program.sh
- Should I try to install these apps as the "jamf pro" hidden user?
- Is there a way to set that everything that gets installed through self service can be opened?
Regards!
Posted on 08-06-2021 10:17 AM
Hi,
try this:
CURRENT_USER=$3
# remove brew cask apps from quarantine
xattr -d com.apple.quarantine /Users/$CURRENT_USER/Applications/Google\ Chrome.app || true