feat: settings password change, migrate desktop client with hub activation/report

This commit is contained in:
dekun
2026-10-17 17:50:42 +08:00
parent fb35968a1f
commit 1d4d5b06df
14 changed files with 1933 additions and 26 deletions
+30
View File
@@ -0,0 +1,30 @@
@echo off
chcp 65001 >nul
cd /d "%~dp0"
set "HTTP_PROXY="
set "HTTPS_PROXY="
set "http_proxy="
set "https_proxy="
set "ALL_PROXY="
set "all_proxy="
set "NO_PROXY=*"
set "no_proxy=*"
echo [1/2] 打包通用辅助 exe ...
py -3 -m PyInstaller --noconfirm --clean --onefile --windowed --name "黄金市价辅助" --hidden-import=MetaTrader5 --hidden-import=numpy --collect-all MetaTrader5 --collect-all numpy gold_order_app.py
if errorlevel 1 goto fail
echo [2/2] 复制到 releases(若存在上级目录)
if exist "..\releases" copy /Y "dist\黄金市价辅助.exe" "..\releases\黄金市价辅助.exe" >nul
echo.
echo 完成: %cd%\dist\黄金市价辅助.exe
echo 请放到服务器 /opt/gold_monitor/releases/ 供网页下载。
pause
exit /b 0
:fail
echo 打包失败
pause
exit /b 1