-
-
Save hayakawa/abaa9a132f5a795012676dba27a23018 to your computer and use it in GitHub Desktop.
#!/bin/bash | |
### Get my uid | |
UserID=`id -u` | |
echo "Your UID: ${UserID}" | |
### Unload root process | |
sudo launchctl unload /Library/LaunchDaemons/com.antelopeaudio.daemon.plist | |
### Kill the process if it was already awaken | |
PID=`ps -U "${UserID}"|grep AntelopeAudioServer|grep -v grep|awk '{print $1;}'` | |
if [ -n "${PID}" ] && [ "${PID}" -ge 1 ]; | |
then | |
kill -9 ${PID} | |
fi | |
### Check latest server | |
TARGET=`ls -1 /Users/Shared/.AntelopeAudio/managerserver/servers/|sort -nr|head -n 1` | |
/Users/Shared/.AntelopeAudio/managerserver/servers/${TARGET}/AntelopeAudioServer-${TARGET}.app/Contents/MacOS/AntelopeAudioServer & | |
SERVPID=$! | |
echo "Process ID is: ${SERVPID}" | |
### Open Antelope Launcher | |
open "/Applications/Antelope Launcher.app" |
Dude, this is really helpful. Now my ZenTour works in newest macOS Catalina. Great and thanks a lot for that little helper script.
Thank you so much for this @hayakawa - how did you figure it our and what does it do different than how it installs itself? Is it because it's not run as daemon but directly?
Hello! @hannesoid,
First, I am NOT english user. so, I will may not understand the exact intent of your question :(
how did you figure it our and what does it do different than how it installs itself? Is it because it's not run as daemon but directly?
At the Normally Install(Antelope Audio default), Antelope Server process is awaken as a root process. And Antelope Launcher is awaken as a user process.
Antelope Launcher process(user process) cannot connect Antelope Server Process(root process), so trying to connect again and again.
I am not understand detail, but it looks like that for me.
(On MacOS 10.14(Mojave) it worked good but 10.15(Catalina) was not. So I think reason is something difference between Mojave and Catalina.)
I thought "If I awake Antelope Server Process as a user process, It will work good."
This tiny script is do it.
See Also my blog ;-)
https://blog.hyec.jp/2019/08/07/how-to-run-antelope-launcher-on-macos-10-15-at-own-risk/#st-toc-h-3
(Written in Japanese. Please use translate service if you need.)
Thank you @hayakawa, I appreciate and fully understand your explanation 👍
I will send this info to antelope support, maybe it helps them with the update.
Best regards!
Thank you so much for sharing 🙏
runs perfect. Thank you for sharing this.
runs perfect. Thank you for sharing this.
Hello,
happy New Year 2020
Can you please help me
I understand nothing
how I have to stat and where I have found all this information
thank you so much
#!/bin/bash
Get my uid
UserID=id -u
echo "Your UID: ${UserID}"
Unload root process
sudo launchctl unload /Library/LaunchDaemons/com.antelopeaudio.daemon.plist
Kill the process if it was already awaken
PID=ps -U "${UserID}"|grep AntelopeAudioServer|grep -v grep|awk '{print $1;}'
if [ -n "${PID}" ] && [ "${PID}" -ge 1 ];
then
kill -9 ${PID}
fi
Check latest server
TARGET=ls -1 /Users/Shared/.AntelopeAudio/managerserver/servers/|sort -nr|head -n 1
/Users/Shared/.AntelopeAudio/managerserver/servers/${TARGET}/AntelopeAudioServer-${TARGET}.app/Contents/MacOS/AntelopeAudioServer &
SERVPID=$!
echo "Process ID is: ${SERVPID}"
Open Antelope Launcher
open "/Applications/Antelope Launcher.app"
Amazingly helpful!
Hello can u please make video for me please
thanks you so much
runs perfect. Thank you for sharing this.
Hello can u please make video for me please
thanks you so much
please
Could someone please explain to me how to run this script? I am very new to this! Thanks in advance!
Hi,
I made a simple manual. The following steps may help you ;-)
(You need skills basic mac and shell script operation.)
How to setup script on your mac
- Download this script.
- Click
Download ZIP
button on this page top right.
- Click
- Extract downloaded zip file.
- ex. Double click downloaded zip file.
- After extract, move
run_antelope.sh
file to as you like directory if you needrun_antelope.sh
file will be in extracted directory.- DO NOT FORGET WHERE YOU MOVED
- That's all!
How to run this script
- Launch Your Terminal.app
- You will be able to find in
/Application/Utilities/Terminal.app
- You will be able to find in
- Type
sh /path/to/directory/run_antelope.sh
- Notes: replace
/path/to/directory/
to moved directory path
- Notes: replace
- Antelope Launcher will be launch on your mac!
How to finish Antelope Launcher
- Antelope Launcher active and type
CMD+Q
- After finished Antelope Launcher, you can finish Terminal.app too
We have a good news! This script will be unnecessary just now!
Antelope Audio products has a compatibility for MacOS 10.15(Catalina).
More details is see below:
https://en.antelopeaudio.com/2020/01/antelope-audio-product-compatibility-with-macos-catalina/
Amazingly helpful!