I created a Bash script that should be able to be ran on any machine. The problem I'm having it'll only run in terminal. When a user double clicks the script, some users have it open up in iTerm, and some in Xcode in read view. Any idea how to have it execute in these programs or make it only specific to terminal?
Also, I'm having an issue as the script I'm running as its being opened from an "Unidentified developer". I know how to manually resolve from system preferences, but is there anyway to automate in the script?