Skip to content

Instantly share code, notes, and snippets.

@marco79cgn marco79cgn/AirConnect Secret
Created Dec 13, 2017

Embed
What would you like to do?
to run
set p to "/Applications/AirConnect/airupnp-osx-multi"
try
POSIX file p as alias
true
on error
do shell script "mkdir -p /Applications/AirConnect"
do shell script "curl https://raw.githubusercontent.com/philippe44/AirConnect/master/bin/airupnp-osx-multi -o /Applications/AirConnect/airupnp-osx-multi"
do shell script "chmod +x /Applications/AirConnect/airupnp-osx-multi"
end try
try
do shell script "kill `ps ax | grep airupnp-osx-multi | grep -v grep | cut -d\" \" -f1`"
end try
tell application "Terminal"
do script "/Applications/AirConnect/airupnp-osx-multi -l 500:500 -z"
end tell
end run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.