Skip to content

Commit

Permalink
Fix name of pre-1.18 installer
Browse files Browse the repository at this point in the history
  • Loading branch information
cgutman committed Dec 30, 2023
1 parent 7401505 commit 9c4bc29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src_assets/windows/misc/gamepad/install-gamepad.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ setlocal enabledelayedexpansion

rem Check if a compatible version of ViGEmBus is already installed (1.17 or later)
set Version=
for /f "usebackq delims=" %%a in (`"wmic product where name='ViGEm Bus Driver' get Version /format:Textvaluelist"`) do (
for /f "usebackq delims=" %%a in (`wmic product where "name='ViGEm Bus Driver' or name='Nefarius Virtual Gamepad Emulation Bus Driver'" get Version /format:Textvaluelist`) do (
for /f "delims=" %%# in ("%%a") do set "%%#"
)

Expand Down

0 comments on commit 9c4bc29

Please sign in to comment.