This repository was archived by the owner on Sep 30, 2021. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -171,13 +171,13 @@ if (!(Test-Path .\temp\driver_00vrinputemulator.dll)){
171171Start-Sleep - s 0.7
172172# downloading kinect sdk
173173if ($KinectStatus -eq 0 ){ # xbox 360
174- if (! (Test-Path " C:\Windows\System32\kinect10.dll " )){ # and no driver
174+ if (! (Test-Path " C:\Program Files\Microsoft SDKs\Kinect\v1.8 " )){ # and no driver
175175 echo " Downloading Kinect SDK 1.8 for Xbox 360 Kinect"
176176 Invoke-WebRequest https:// download.microsoft.com / download/ E/ 1 / D/ E1DEC243- 0389 - 4A23- 87BF- F47DE869FC1A/ KinectSDK-v1.8-Setup.exe - OutFile .\temp\kinectv1-sdk-1.8.exe
177177 $KinectDriverInstall = 1 }
178178}
179179if ($KinectStatus -eq 1 ){ # xbox one
180- if (! (Test-Path " C:\Windows\System32\kinect20.dll " )){ # and no driver
180+ if (! (Test-Path " C:\Program Files\Microsoft SDKs\Kinect\v2.0_1409 " )){ # and no driver
181181 echo " Downloading Kinect SDK 2.0 for Xbox One Kinect"
182182 Invoke-WebRequest https:// download.microsoft.com / download/ F/ 2 / D/ F2D1012E- 3BC6- 49C5- B8B3- 5ACFF58AF7B8/ KinectSDK-v2.0_1409-Setup.exe - OutFile .\temp\kinectv2-sdk-2.0.exe
183183 $KinectDriverInstall = 1 }
You can’t perform that action at this time.
0 commit comments