From 9ad71dfd2b78092e21cc45701c029e2f434e5a1e Mon Sep 17 00:00:00 2001 From: srcrs Date: Thu, 23 Nov 2023 00:57:49 +0800 Subject: [PATCH] update --- install.sh | 2 ++ 1 file changed, 2 insertions(+) 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