forked from ArduPilot/MethodicConfigurator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.bat
executable file
·24 lines (23 loc) · 1.58 KB
/
package.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
del /Q dist\*
rem python3.11.exe -m PyInstaller --onefile --noconfirm --add-data "4.4.4-test-params\00_default.param;4.4.4-test-params" --add-data "apm.pdef.xml;." --add-data "apm.pdef.4.3.8-params.xml;." --add-data "apm.pdef.4.4.4-params.xml;." --add-data "apm.pdef.4.5.x-params.xml;." --add-data "apm.pdef.4.6.x-params.xml;." --add-data "ArduPilot_icon.png;." --add-data "configuration_steps_ArduCopter.json;." ardupilot_methodic_configurator.py
python3.11.exe -m PyInstaller --onefile --noconfirm MethodicConfigurator\ardupilot_methodic_configurator.py
md dist\4.4.4-test-params
copy 4.4.4-test-params\00_default.param dist\4.4.4-test-params
copy apm.pdef.4.3.8-params.xml dist
copy apm.pdef.4.4.4-params.xml dist
copy apm.pdef.4.5.x-params.xml dist
copy apm.pdef.4.6.x-params.xml dist
copy configuration_steps_ArduCopter.json dist
copy configuration_steps_ArduPlane.json dist
copy configuration_steps_Heli.json dist
copy configuration_steps_Rover.json dist
xcopy /E /I /Y vehicle_templates\ArduCopter\diatone_taycan_mxc\4.3.8-params dist\4.3.8-params
xcopy /E /I /Y vehicle_templates\ArduCopter\diatone_taycan_mxc\4.4.4-params dist\4.4.4-params
xcopy /E /I /Y 4.4.4-test-params dist\4.4.4-test-params
xcopy /E /I /Y vehicle_templates\ArduCopter\diatone_taycan_mxc\4.5.x-params dist\4.5.x-params
xcopy /E /I /Y vehicle_templates\ArduCopter\diatone_taycan_mxc\4.6.x-params dist\4.6.x-params
xcopy /E /I /Y images dist\images
copy *.md dist
copy MethodicConfigurator\*.png dist
copy MethodicConfigurator\extract_param_defaults.py dist
copy MethodicConfigurator\param_pid_adjustment_update.py dist