FluentUI/src/win_install.bat

29 lines
860 B
Batchfile
Raw Normal View History

2023-02-24 18:44:29 +08:00
SET PWD_PATH=%2
SET PRESET_PATH=%3
SET BUILDER_BIN_PATH=%4
SET QT_QML_FLUENT_PATH=%5
SET ANDROID=%6
SET LIBFILE_PATH=%7
echo "--------win_install-------"
echo %RUN_TYPE%
echo %PWD_PATH%
echo %PRESET_PATH%
echo %BUILDER_BIN_PATH%
echo %QT_QML_FLUENT_PATH%
echo "--------------------------"
2023-02-26 23:47:07 +08:00
copy /y %PWD_PATH%\FluentUI.h %BUILDER_BIN_PATH% & copy /y %PRESET_PATH%\* %BUILDER_BIN_PATH%\
2023-02-24 18:44:29 +08:00
if %ANDROID% == YES copy /y %LIBFILE_PATH% %BUILDER_BIN_PATH%
if %1 == SHARED (
echo running install to qtqml folder
2023-02-27 18:46:39 +08:00
del /s /q %PRESET_PATH%\plugins.qmltypes
2023-03-21 18:19:46 +08:00
%QT_QML_FLUENT_PATH%\..\..\bin\qmlplugindump.exe -nonrelocatable FluentUI 1.0 > %PRESET_PATH%\plugins.qmltypes
rem rmdir /s /q %QT_QML_FLUENT_PATH% & md %QT_QML_FLUENT_PATH%
2023-02-24 18:44:29 +08:00
copy /y %BUILDER_BIN_PATH% %QT_QML_FLUENT_PATH%
2023-02-27 18:46:39 +08:00
xcopy %PRESET_PATH% %QT_QML_FLUENT_PATH% /s/e/i/y
2023-02-26 23:47:07 +08:00
cd %QT_QML_FLUENT_PATH%
2023-02-24 18:44:29 +08:00
)