[patch] 修正Pillow安装步骤

This commit is contained in:
Gitea Actions Bot
2025-10-11 16:30:01 +08:00
parent b685e64e71
commit 1472646624
3 changed files with 29 additions and 2 deletions

View File

@@ -142,7 +142,18 @@ jobs:
# Install Pillow for icon conversion
Write-Host "Installing Pillow for icon conversion...";
pip install Pillow 2>&1 | Out-Null;
python -m pip install --upgrade pip;
python -m pip install Pillow;
# Verify Pillow installation
Write-Host "Verifying Pillow installation...";
python -c "from PIL import Image; print('Pillow version:', Image.__version__)";
if ($LASTEXITCODE -ne 0) {
Write-Host "ERROR: Pillow installation verification failed";
exit 1;
}
Write-Host "Pillow installed successfully";
Write-Host "";
python build_production.py;
if ($LASTEXITCODE -ne 0) {