Skip to content

Instantly share code, notes, and snippets.

@mikehouse
Last active September 24, 2020 10:17
Show Gist options
  • Save mikehouse/0a638a144ac08092c50ea760d515f692 to your computer and use it in GitHub Desktop.
Save mikehouse/0a638a144ac08092c50ea760d515f692 to your computer and use it in GitHub Desktop.
#!/bin/bash
RAM_DISK=/Volumes/ramdisk/
if [[ ! -d ${RAM_DISK} ]]; then
exit 0
fi
APP_CODE='AppCode 2020.3 EAP.app'
cp -pR "/Applications/${APP_CODE}" /Volumes/ramdisk/
for app in '/Applications/Skype.app' '/Applications/Slack.app' "${RAM_DISK}/${APP_CODE}" '/Applications/Xcode.app'; do
if [[ -d "${app}" ]]; then
open "${app}"
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment