diff --git a/assets/tools/upload.sh b/assets/tools/upload.sh new file mode 100755 index 0000000..c077be8 --- /dev/null +++ b/assets/tools/upload.sh @@ -0,0 +1,3 @@ +#!/bin/bash +URL=$(curl -s -F "apikey=YOURKEYHERE" -F "files[]=@$1" www.shimapan.rocks/upload.php | grep url | awk '{print $2}') +echo $URL | tr -d '[\\\,"]'