This commit is contained in:
super
2026-04-19 15:47:37 +08:00
65 changed files with 41 additions and 7 deletions

View File

@@ -14,7 +14,6 @@ def upload_file(file_content: bytes, key: str):
cfg.credentials_provider = credentials_provider
cfg.region = region
cfg.endpoint = endpoint
cfg.retry_max_attempts = 3
client = oss.Client(cfg)
result = client.put_object(

View File

@@ -49,8 +49,8 @@ os.environ['OSS_ACCESS_KEY_SECRET'] = accessKeySecret
os.environ['SECRET_KEY'] = "ddffc7c1d02121d9554d7b080b2511b6"
debug = True
version = "1.0.13"
debug = False
version = "1.0.56"
APP_UPDATE_URL = f"{_base_url}/api/version/latest" # 检测更新接口地址,返回 { "file_url": "...", "version": "x.x.x" }
os.environ['APP_VERSION'] = version
os.environ['APP_UPDATE_URL'] = APP_UPDATE_URL
@@ -59,9 +59,6 @@ os.environ['APP_UPDATE_URL'] = APP_UPDATE_URL
# 队列
JSON_TASK_QUEUE = Queue()
base_dir = os.getcwd()
#删除品牌,正在执行中的任务
runing_task = {

View File

@@ -434,7 +434,7 @@ def main():
window.expose(api.close, api.minimize, api.maximize, api.toggle_maximize, generate_images, api.save_image, api.save_image_to_folder, api.select_folder, api.select_brand_xlsx_files, api.select_brand_folder,
api.save_file_from_url, api.save_template_xlsx,api.save_template_zip,api.upload_file_to_java,api.open_external_url,api.enqueue_json,api.get_detail_del,api.save_file_from_url_new)
webview.start(
debug=True,
debug=False,
storage_path=cache_path,
private_mode=False
)

View File

View File

BIN
app/update/PyQt5/QtCore.pyd Normal file

Binary file not shown.

BIN
app/update/PyQt5/QtGui.pyd Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
app/update/PyQt5/sip.pyd Normal file

Binary file not shown.

BIN
app/update/_bz2.pyd Normal file

Binary file not shown.

BIN
app/update/_ctypes.pyd Normal file

Binary file not shown.

BIN
app/update/_decimal.pyd Normal file

Binary file not shown.

BIN
app/update/_elementtree.pyd Normal file

Binary file not shown.

BIN
app/update/_hashlib.pyd Normal file

Binary file not shown.

BIN
app/update/_hashlib.zip Normal file

Binary file not shown.

BIN
app/update/_lzma.pyd Normal file

Binary file not shown.

BIN
app/update/_socket.pyd Normal file

Binary file not shown.

Binary file not shown.

BIN
app/update/libeay32.dll Normal file

Binary file not shown.

BIN
app/update/libffi-7.dll Normal file

Binary file not shown.

BIN
app/update/msvcp140.dll Normal file

Binary file not shown.

BIN
app/update/msvcp140_1.dll Normal file

Binary file not shown.

Binary file not shown.

BIN
app/update/pyexpat.pyd Normal file

Binary file not shown.

BIN
app/update/python3.dll Normal file

Binary file not shown.

BIN
app/update/python39.dll Normal file

Binary file not shown.

BIN
app/update/qt5core.dll Normal file

Binary file not shown.

BIN
app/update/qt5dbus.dll Normal file

Binary file not shown.

BIN
app/update/qt5gui.dll Normal file

Binary file not shown.

Binary file not shown.

BIN
app/update/qt5network.dll Normal file

Binary file not shown.

Binary file not shown.

BIN
app/update/qt5qml.dll Normal file

Binary file not shown.

BIN
app/update/qt5qmlmodels.dll Normal file

Binary file not shown.

BIN
app/update/qt5quick.dll Normal file

Binary file not shown.

BIN
app/update/qt5svg.dll Normal file

Binary file not shown.

Binary file not shown.

BIN
app/update/qt5widgets.dll Normal file

Binary file not shown.

BIN
app/update/select.pyd Normal file

Binary file not shown.

BIN
app/update/ssleay32.dll Normal file

Binary file not shown.

BIN
app/update/unicodedata.pyd Normal file

Binary file not shown.

BIN
app/update/update.exe Normal file

Binary file not shown.

BIN
app/update/vcruntime140.dll Normal file

Binary file not shown.

Binary file not shown.

38
app/winsrc.bat Normal file
View File

@@ -0,0 +1,38 @@
@echo off
chcp 65001 >nul
setlocal enabledelayedexpansion
echo 正在执行 PowerShell 命令解除文件锁定...
powershell -Command "Get-ChildItem -Path \"%cd%\" -Recurse | Unblock-File"
if %errorlevel% equ 0 (
echo 文件解锁完成
) else (
echo 文件解锁失败,请检查 PowerShell 权限
)
echo.
echo 检查 ShuFuAi.exe.config 文件...
if exist "ShuFuAi.exe.config" (
echo ShuFuAi.exe.config 已存在,跳过创建
) else (
echo 正在创建 ShuFuAi.exe.config...
(
echo ^<?xml version="1.0" encoding="utf-8" ?^>
echo ^<configuration^>
echo ^<runtime^>
echo ^<loadFromRemoteSources enabled="true"/^>
echo ^</runtime^>
echo ^</configuration^>
) > "ShuFuAi.exe.config"
if exist "ShuFuAi.exe.config" (
echo ShuFuAi.exe.config 创建成功
) else (
echo ShuFuAi.exe.config 创建失败,请检查权限
)
)
echo.
echo 操作完成!
pause