This repository has been archived on 2025-02-28. You can view files and clone it, but cannot push or open issues or pull requests.
controller-hd/MDK-ARM/output-controller-v24.bat

19 lines
445 B
Batchfile

set project_name=controller-v2
set version=v2.4
set out_filename=controller
set output_file_name=%out_filename%_%version%
set path=controller-v2
@echo off
@REM 判断文件是否存在
set file_path=%path%\%project_name%.hex
if exist %file_path% (
move %file_path% ..\Public\出厂文件\output\%output_file_name%.hex
)
set file_path=.\%project_name%.bin
if exist %file_path% (
move %file_path% ..\Public\出厂文件\output\%output_file_name%.bin
)