[patch] 修正Pillow依赖冲突问题
This commit is contained in:
@@ -140,19 +140,19 @@ jobs:
|
|||||||
Write-Host "Step 4.5: Build production executable";
|
Write-Host "Step 4.5: Build production executable";
|
||||||
Write-Host "==========================================";
|
Write-Host "==========================================";
|
||||||
|
|
||||||
# Install Pillow for icon conversion
|
# Ensure PyInstaller and Pillow are in the same Python environment
|
||||||
Write-Host "Installing Pillow for icon conversion...";
|
Write-Host "Installing dependencies...";
|
||||||
python -m pip install --upgrade pip;
|
python -m pip install --upgrade pip --quiet;
|
||||||
python -m pip install Pillow;
|
python -m pip install pyinstaller --upgrade --quiet;
|
||||||
|
python -m pip install Pillow --quiet;
|
||||||
|
|
||||||
# Verify Pillow installation
|
# Verify installation
|
||||||
Write-Host "Verifying Pillow installation...";
|
Write-Host "Python version:";
|
||||||
python -c "from PIL import Image; print('Pillow version:', Image.__version__)";
|
python --version;
|
||||||
if ($LASTEXITCODE -ne 0) {
|
Write-Host "PyInstaller version:";
|
||||||
Write-Host "ERROR: Pillow installation verification failed";
|
python -m PyInstaller --version;
|
||||||
exit 1;
|
Write-Host "Pillow version:";
|
||||||
}
|
python -c "from PIL import Image; print(Image.__version__)";
|
||||||
Write-Host "Pillow installed successfully";
|
|
||||||
Write-Host "";
|
Write-Host "";
|
||||||
|
|
||||||
python build_production.py;
|
python build_production.py;
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ VERSION = "1.0"
|
|||||||
WINDOW_TITLE = "AI回复连接入口-V1.0"
|
WINDOW_TITLE = "AI回复连接入口-V1.0"
|
||||||
|
|
||||||
# 应用版本号(用于版本检查)
|
# 应用版本号(用于版本检查)
|
||||||
APP_VERSION = "1.5.8"
|
APP_VERSION = "1.5.9"
|
||||||
|
|
||||||
# 平台特定配置
|
# 平台特定配置
|
||||||
PLATFORMS = {
|
PLATFORMS = {
|
||||||
|
|||||||
@@ -1,4 +1,20 @@
|
|||||||
[
|
[
|
||||||
|
{
|
||||||
|
"version": "1.5.9",
|
||||||
|
"update_type": "patch",
|
||||||
|
"content": "[patch] 修正Pillow安装步骤",
|
||||||
|
"author": "Gitea Actions Bot",
|
||||||
|
"commit_hash": "14726466248048dc40e1e4d84119a0bc5da41432",
|
||||||
|
"commit_short_hash": "14726466",
|
||||||
|
"branch": "develop",
|
||||||
|
"release_time": "2025-10-11 16:30:23",
|
||||||
|
"download_url": "https://ks3-cn-guangzhou.ksyuncs.com/shuidrop-chat-server/installers/ShuiDi_AI_Assistant_Setup_v1.5.9.exe",
|
||||||
|
"stats": {
|
||||||
|
"files_changed": 3,
|
||||||
|
"lines_added": 29,
|
||||||
|
"lines_deleted": 2
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"version": "1.5.8",
|
"version": "1.5.8",
|
||||||
"update_type": "patch",
|
"update_type": "patch",
|
||||||
|
|||||||
Reference in New Issue
Block a user