Hi there,
I've noticed on macOS Ventura script deployment seem to have odd behaviour. Most likely it's my simple install script itself.
The behaviour is that when something is installed / mounted and copied to /Applications that I get an error "this file was downloaded on an unknown date" with the prompt to move said app to the bin.
However if I click Cancel on the above prompt and go to Finder and run the app by right-click and Open
The app launches completely fine.
This is the script I'm using. Issue is this is happening with all script deployment apps.
#!/bin/sh
mkdir /Users/Shared/3cx-install
cd /Users/Shared/3cx-install
# Installing 3CX Desktop App
curl -L -o 3cx-Mac.dmg "https://example.3cx.co.za:5001/webclient/api/app/mac"
hdiutil attach 3cx-Mac.dmg
sudo cp -rf /Volumes/3CXDesktop*/3CX\\ Desktop\\ App.app /Applications
sudo hdiutil detach /volumes/3CXDesktop*/
open /Applications/3CX\\ Desktop\\ App.app
sudo rm -rf /Users/Shared/3cx-install
exit 0