[patch] 修正ks3包名问题
This commit is contained in:
@@ -9,7 +9,12 @@ import os
|
|||||||
import sys
|
import sys
|
||||||
import logging
|
import logging
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
|
try:
|
||||||
from ks3.connection import Connection
|
from ks3.connection import Connection
|
||||||
|
except ImportError:
|
||||||
|
print("ERROR: ks3sdk not installed. Please run: pip install ks3sdk")
|
||||||
|
sys.exit(1)
|
||||||
|
|
||||||
# Configure logging
|
# Configure logging
|
||||||
logging.basicConfig(
|
logging.basicConfig(
|
||||||
|
|||||||
@@ -346,7 +346,9 @@ jobs:
|
|||||||
Write-Host "Step 4.8: Upload installer to KS3";
|
Write-Host "Step 4.8: Upload installer to KS3";
|
||||||
Write-Host "==========================================";
|
Write-Host "==========================================";
|
||||||
|
|
||||||
pip install ks3 2>$null;
|
# Install KS3 SDK
|
||||||
|
Write-Host "Installing KS3 SDK...";
|
||||||
|
python -m pip install ks3sdk --quiet;
|
||||||
|
|
||||||
python .gitea/scripts/upload_installer_to_ks3.py;
|
python .gitea/scripts/upload_installer_to_ks3.py;
|
||||||
|
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ VERSION = "1.0"
|
|||||||
WINDOW_TITLE = "AI回复连接入口-V1.0"
|
WINDOW_TITLE = "AI回复连接入口-V1.0"
|
||||||
|
|
||||||
# 应用版本号(用于版本检查)
|
# 应用版本号(用于版本检查)
|
||||||
APP_VERSION = "1.5.9"
|
APP_VERSION = "1.5.10"
|
||||||
|
|
||||||
# 平台特定配置
|
# 平台特定配置
|
||||||
PLATFORMS = {
|
PLATFORMS = {
|
||||||
|
|||||||
6
main.py
6
main.py
@@ -13,10 +13,10 @@ from windows_taskbar_fix import setup_windows_taskbar_icon
|
|||||||
import os
|
import os
|
||||||
# ===================== 文件日志系统 - 生产环境启用 =====================
|
# ===================== 文件日志系统 - 生产环境启用 =====================
|
||||||
# 重定向所有输出到文件,确保有日志记录
|
# 重定向所有输出到文件,确保有日志记录
|
||||||
from exe_file_logger import setup_file_logging, log_to_file
|
# from exe_file_logger import setup_file_logging, log_to_file # 生产环境禁用
|
||||||
|
|
||||||
setup_file_logging() # 生产环境启用自动日志功能
|
# setup_file_logging() # 生产环境禁用 # 生产环境启用自动日志功能
|
||||||
print("文件日志系统已在main.py中初始化")
|
# print("文件日志系统已在main.py中初始化") # 生产环境禁用
|
||||||
|
|
||||||
|
|
||||||
# 新增: 版本更新信号类(用于线程安全的 GUI 通知)
|
# 新增: 版本更新信号类(用于线程安全的 GUI 通知)
|
||||||
|
|||||||
@@ -1,4 +1,20 @@
|
|||||||
[
|
[
|
||||||
|
{
|
||||||
|
"version": "1.5.10",
|
||||||
|
"update_type": "patch",
|
||||||
|
"content": "[patch] 修正Pillow依赖冲突问题",
|
||||||
|
"author": "Gitea Actions Bot",
|
||||||
|
"commit_hash": "99446eca748e93c289012a8465a94e4ae7ca8961",
|
||||||
|
"commit_short_hash": "99446eca",
|
||||||
|
"branch": "develop",
|
||||||
|
"release_time": "2025-10-11 16:34:25",
|
||||||
|
"download_url": "https://ks3-cn-guangzhou.ksyuncs.com/shuidrop-chat-server/installers/ShuiDi_AI_Assistant_Setup_v1.5.10.exe",
|
||||||
|
"stats": {
|
||||||
|
"files_changed": 3,
|
||||||
|
"lines_added": 30,
|
||||||
|
"lines_deleted": 14
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"version": "1.5.9",
|
"version": "1.5.9",
|
||||||
"update_type": "patch",
|
"update_type": "patch",
|
||||||
|
|||||||
Reference in New Issue
Block a user