I have a few .apps that i need to deploy to users devices. I have created a script that copies the files from a temp location to users/applications however when the app is opened i get a warning saying the app is not trusted etc.
My question is what is the easiest way to deploy the .apps and also prevent the warning message from appearing?
To prevent the trust message, for apps you do trust. Add this to your script...
xattr -d com.apple.quarantine /Applications/AppName.app
Add in this for each app you deploy. Putting in the correct path to the app. You only need to run this the one time, just after you have installed the app in place.
As others have said, I would use a package builder to make the packages to get the app from your Jamf server to your client Mac.