#!/bin/bash
# Before launching LDEO programs on OSX 10.12 and greater.... 
#
#   1) Copy this file to the same folder as the program
#   2) Open a terminal window (/Applications/Utilities/Terminal) and navigate to that 
#        same folder using the shell command "cd"
#        Example /Users/pk466> cd desktop/SignalFree2019_AWE 
#
# Then enter the following two commands (all the text AFTER "/Users/pk466>").
#
#    3) /Users/pk466> chmod 0755 BlessMyPrograms
#    4) /Users/pk466> ./BlessMyPrograms.cmd
#
# This will remove the com.apple.quarantine attribute from the programs
# and permit you to move and run the application anywhere on your computer.
# Note: The name of the program you are trying to open must be written here
# exactly as it appear in the folder, case and all.

xattr -d com.apple.quarantine ARSTAN_49v1a_AWE.app
xattr -d com.apple.quarantine ARSTAN_49v1a_MRWE.app

xattr -d com.apple.quarantine RCSsigFree_49_v1_2020MRWE.app
xattr -d com.apple.quarantine RCSsigFree_49v1_01_2020AWE.app
