Skip to content

Commit 6bb264b

Browse files
committed
add install for arduino gemma drivers: they are in another directory
1 parent ae4c7ec commit 6bb264b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Diff for: post_install.bat

+9
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,13 @@ if "%PROCESSOR_ARCHITECTURE%" == "AMD64" (
88
drivers\dpinst-x86.exe %ARGS%
99
)
1010

11+
REM dpinst /PATH has problems with relative paths, so use absolute path.
12+
if "%PROCESSOR_ARCHITECTURE%" == "AMD64" (
13+
drivers\dpinst-amd64.exe /PATH %cd%\drivers\gemma %ARGS%
14+
) ELSE IF "%PROCESSOR_ARCHITEW6432%" == "AMD64" (
15+
drivers\dpinst-amd64.exe /PATH %cd%\drivers\gemma %ARGS%
16+
) ELSE (
17+
drivers\dpinst-x86.exe /PATH %cd%\drivers\gemma %ARGS%
18+
)
19+
1120
exit /b 0

0 commit comments

Comments
 (0)