feat: update file access error handling and improve script downloads

fix: correct file size retrieval in bitrot verification
chore: remove deprecated run.bat and add run.ps1 script
This commit is contained in:
Damonxue
2025-04-08 17:32:12 +08:00
parent 99b473e229
commit 0ed8a8dd19
8 changed files with 79 additions and 62 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ fi
if [ ! -f ./rustfs/static/index.html ]; then
echo "Downloading rustfs-console-latest.zip"
# download rustfs-console-latest.zip do not show log
curl -s -L "https://dl.rustfs.com/console/rustfs-console-latest.zip" -o tempfile.zip && unzip -q -o tempfile.zip -d ./rustfs/static && rm tempfile.zip
curl -s -L "https://dl.rustfs.com/artifacts/console/rustfs-console-latest.zip" -o tempfile.zip && unzip -q -o tempfile.zip -d ./rustfs/static && rm tempfile.zip
fi
cargo run --bin rustfs