diff --git a/install.sh b/install.sh index 0d5288c..fd64be7 100644 --- a/install.sh +++ b/install.sh @@ -19,5 +19,7 @@ else archname=$arch fi +rm MagicBox_${archname}_linux + curl -s https://api.github.com/repos/srcrs/magicbox/releases/latest | grep browser_download_url | grep linux | grep ${archname} | cut -d'"' -f4 | wget -i - chmod +x MagicBox_${archname}_linux \ No newline at end of file