mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
fix: do not install media pack on non-server windows (#6925)
This commit is contained in:
parent
4b5ad33cf8
commit
d4e50bedf1
@ -1 +1,5 @@
|
||||
Install-WindowsFeature Server-Media-Foundation
|
||||
$osInfo = Get-WmiObject -Class Win32_OperatingSystem
|
||||
# check if running on Windows Server
|
||||
if ($osInfo.ProductType -eq 3) {
|
||||
Install-WindowsFeature Server-Media-Foundation
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user