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 "--------------------------" copy /y %PWD_PATH%\FluentUI.h %BUILDER_BIN_PATH% & copy /y %PRESET_PATH%\* %BUILDER_BIN_PATH%\ if %ANDROID% == YES copy /y %LIBFILE_PATH% %BUILDER_BIN_PATH% SET QMLPLUGINDUMP1_PATH=%QT_QML_FLUENT_PATH%\..\..\bin\qmlplugindump.exe SET QMLPLUGINDUMP2_PATH=%QT_QML_FLUENT_PATH%\..\..\bin\qmlplugindump-qt6.exe if %1 == SHARED ( echo running install to qtqml folder del /s /q %PRESET_PATH%\plugins.qmltypes if exist %QMLPLUGINDUMP1_PATH% ( %QMLPLUGINDUMP1_PATH% -nonrelocatable FluentUI 1.0 > %PRESET_PATH%\plugins.qmltypes rmdir /s /q %QT_QML_FLUENT_PATH% & md %QT_QML_FLUENT_PATH% copy /y %BUILDER_BIN_PATH% %QT_QML_FLUENT_PATH% xcopy %PRESET_PATH% %QT_QML_FLUENT_PATH% /s/e/i/y cd %QT_QML_FLUENT_PATH% ) else ( SET QT_QML_FLUENT_PATH2 = QT_QML_FLUENT_PATH\..\..\share\qt6\qml\Fluent %QMLPLUGINDUMP2_PATH% -nonrelocatable FluentUI 1.0 > %PRESET_PATH%\plugins.qmltypes rmdir /s /q %QT_QML_FLUENT_PATH2% & md %QT_QML_FLUENT_PATH2% copy /y %BUILDER_BIN_PATH% %QT_QML_FLUENT_PATH2% xcopy %PRESET_PATH% %QT_QML_FLUENT_PATH2% /s/e/i/y cd %QT_QML_FLUENT_PATH2% ) )