We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1584fcf + 5c4937f commit 70fb3f0Copy full SHA for 70fb3f0
scripts/capture-hw-details.sh
@@ -20,7 +20,17 @@ done
20
21
function libigc_version {
22
if [[ $OSTYPE = msys ]]; then
23
- powershell -Command "(Get-ChildItem c:/Windows/System32/DriverStore/FileRepository/*/igc64.dll).VersionInfo.ProductVersion"
+ pwsh -Command '
24
+ $igc = @(Get-Process -Name dwm -Module | Where-Object ModuleName -eq 'igc64.dll').FileVersionInfo.FileVersion | Sort-Object -Unique
25
+ if ($igc.Count -gt 1) {
26
+ Write-Host "MULTIPLE"
27
+ }
28
+ elseif ($igc.Count -eq 1) {
29
+ Write-Host $igc
30
31
+ else {
32
+ Write-Host "Not Found"
33
+ }'
34
return
35
fi
36
if dpkg-query --show libigc2 &> /dev/null; then
0 commit comments