openethereum/mac/post-install.sh
2017-06-07 16:27:26 +02:00

9 lines
281 B
Bash
Executable File

#!/bin/bash
# uninstall any ancient version
test -f /usr/local/libexec/uninstall-parity.sh && /usr/local/libexec/uninstall-parity.sh || true
killall -9 parity && sleep 5
su $USER -c "open /Applications/Parity\ Ethereum.app"
sleep 5
su $USER -c "open http://127.0.0.1:8180/"
exit 0