feat: settings password change, migrate desktop client with hub activation/report
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user