#!/bin/sh
DIST=$1
ARCH=$2
SUBPATH=$3
cd
rm *.zip
wget https://wiki.rocrail.net/rocrail-snapshot/$SUBPATH/Rocrail-$DIST-$ARCH.zip
unzip -u Rocrail-$DIST-$ARCH.zip -d ~/Rocrail
nohup ~/startrocrail.sh &
