openethereum/mac/post-install.sh

9 lines
281 B
Bash
Raw Permalink Normal View History

#!/bin/bash
2017-01-29 20:22:45 +01:00
# 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/"
2017-01-29 20:22:45 +01:00
exit 0