Skip to content

Instantly share code, notes, and snippets.

@christopherfujino
Last active June 24, 2019 22:48
Show Gist options
  • Save christopherfujino/f9ebf2d64a2609321fc8251a884cc56a to your computer and use it in GitHub Desktop.
Save christopherfujino/f9ebf2d64a2609321fc8251a884cc56a to your computer and use it in GitHub Desktop.
#!/bin/bash
if [ -z "$1" ]; then
echo "Usage: flutter-brew-linker.sh COMMAND"
echo "where COMMAND is either \"unlink\" or \"link\"."
exit 99
fi
COMMAND="$1"
PACKAGES=(
ideviceinstaller
ios-deploy
libimobiledevice
libplist
libusb
usbmuxd
)
for package in ${PACKAGES[@]}; do
brew $COMMAND $package
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment