Commit ba47ee7
fix: use Get-CimInstance for driver scans and propagate update errors
Get-WmiObject was removed in PowerShell 7+, causing silent scan failures.
Switched to Get-CimInstance with Get-WmiObject fallback, and re-throw
errors from scanDriverUpdates so the UI shows the error toast instead of
silently showing "all up to date".
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 1c450e0 commit ba47ee7
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
197 | | - | |
| 197 | + | |
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
| |||
521 | 521 | | |
522 | 522 | | |
523 | 523 | | |
| 524 | + | |
524 | 525 | | |
525 | 526 | | |
526 | 527 | | |
| |||
0 commit comments