Better Windows build-in DFU #3338
This commit is contained in:
parent
0a850402e0
commit
e1626e6d4c
|
@ -19,11 +19,13 @@ echo Let's install ST-Link driver silently
|
|||
cd ST-LINK_USB_V2_1_Driver
|
||||
|
||||
@echo off
|
||||
if "%PROCESSOR_ARCHITEW6432%" == "AMD64" goto X64
|
||||
if "%PROCESSOR_ARCHITECTURE%" == "AMD64" goto X64
|
||||
if "%PROCESSOR_ARCHITEW6432%" == "AMD64" goto ST_X64
|
||||
if "%PROCESSOR_ARCHITECTURE%" == "AMD64" goto ST_X64
|
||||
start "" dpinst_x86.exe /sw
|
||||
goto END
|
||||
:X64
|
||||
goto ST_END
|
||||
:ST_X64
|
||||
start "" dpinst_amd64.exe /sw
|
||||
:END
|
||||
:ST_END
|
||||
|
||||
|
||||
exit
|
|
@ -19,11 +19,13 @@ echo Let's install ST-Link driver silently
|
|||
cd ST-LINK_USB_V2_1_Driver
|
||||
|
||||
@echo off
|
||||
if "%PROCESSOR_ARCHITEW6432%" == "AMD64" goto X64
|
||||
if "%PROCESSOR_ARCHITECTURE%" == "AMD64" goto X64
|
||||
if "%PROCESSOR_ARCHITEW6432%" == "AMD64" goto ST_X64
|
||||
if "%PROCESSOR_ARCHITECTURE%" == "AMD64" goto ST_X64
|
||||
start "" dpinst_x86.exe /sw
|
||||
goto END
|
||||
:X64
|
||||
goto ST_END
|
||||
:ST_X64
|
||||
start "" dpinst_amd64.exe /sw
|
||||
:END
|
||||
:ST_END
|
||||
|
||||
|
||||
exit
|
Loading…
Reference in New Issue