update publish.cmd

This commit is contained in:
Alex Bezdieniezhnykh
2025-04-30 00:13:33 +03:00
parent 28d8cc7fcc
commit 4d1f72f6f9
2 changed files with 6 additions and 4 deletions
+5 -3
View File
@@ -28,6 +28,8 @@ if exist dist rmdir dist /s /q
echo install python and dependencies
python -m venv venv
venv\Scripts\pip install -r requirements.txt
venv\Scripts\pip uninstall opencv-python
venv\Scripts\pip install opencv-python
venv\Scripts\python setup.py build_ext --inplace
echo install azaion-inference
@@ -87,13 +89,13 @@ echo Copy ico
copy logo.ico dist\
echo Copying shared libs
xcopy /E C:\\share dist\
xcopy /E C:\\share\* dist\
set DESTINATION=dist\gps-denied\
rd /S /Q %DESTINATION%
mkdir %DESTINATION%
copy ..\gps-denied\image-matcher\build\Desktop_Qt_6_9_0_MSVC2022_64bit-Release\release\image-matcher.exe %DESTINATION%
copy ..\gps-denied\image-matcher\build\release\image-matcher.exe %DESTINATION%
copy ..\gps-denied\.libs\libzmq\build\dist\bin\libzmq-v143-mt-4_3_6.dll %DESTINATION%
copy ..\gps-denied\.libs\onnxruntime\lib\onnxruntime.dll %DESTINATION%
@@ -103,7 +105,7 @@ copy ..\gps-denied\.libs\opencv\build\x64\vc16\bin\opencv_world4110.dll %DESTINA
mkdir %DESTINATION%\models
copy ..\gps-denied-work\models\* %DESTINATION%\models
copy C:\\share\gps-models\* %DESTINATION%\models
echo building installer...
iscc build\installer.iss