Install display driver
This commit is contained in:
parent
860cb3353b
commit
301c724525
2 changed files with 18 additions and 0 deletions
|
@ -12,6 +12,7 @@ function Install-PortValhallaDrivers {
|
||||||
. "$mbDriverPath/MarvellEthernet/Install.ps1" $context;
|
. "$mbDriverPath/MarvellEthernet/Install.ps1" $context;
|
||||||
. "$mbDriverPath/IntelWiFi/Install.ps1" $context;
|
. "$mbDriverPath/IntelWiFi/Install.ps1" $context;
|
||||||
. "$mbDriverPath/AMDChipsetX399/Install.ps1" $context;
|
. "$mbDriverPath/AMDChipsetX399/Install.ps1" $context;
|
||||||
|
. "$driverPath/Predator Z301C/Install.ps1" $context;
|
||||||
. "$mbDriverPath/IntelBluetooth/Install.ps1" $context;
|
. "$mbDriverPath/IntelBluetooth/Install.ps1" $context;
|
||||||
. "$driverPath/AMDChipsetX399/Install.ps1" $context;
|
. "$driverPath/AMDChipsetX399/Install.ps1" $context;
|
||||||
. "$driverPath/Tobii EyeX/Install.ps1" $context;
|
. "$driverPath/Tobii EyeX/Install.ps1" $context;
|
||||||
|
|
17
scripts/Windows/Drivers/Predator Z301C/Install.ps1
Normal file
17
scripts/Windows/Drivers/Predator Z301C/Install.ps1
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
#!/bin/pwsh
|
||||||
|
param($context)
|
||||||
|
|
||||||
|
|
||||||
|
. "$PSScriptRoot/../../Scripts/Context.ps1";
|
||||||
|
[Context]$context = $context;
|
||||||
|
|
||||||
|
$tempDir = $context.GetTempDirectory();
|
||||||
|
$fileName = "driver.zip";
|
||||||
|
Push-Location $tempDir;
|
||||||
|
|
||||||
|
Invoke-WebRequest "https://global-download.acer.com/GDFiles/Driver/Monitor/Monitor_Acer_1.0_W7x86W7x64W8x86W8x64_A.zip?acerid=636092441703392074" -OutFile $fileName;
|
||||||
|
Expand-Archive $fileName;
|
||||||
|
Start-Process -Wait -FilePath "pnputil" -ArgumentList ([string[]]@("/add-driver", "*.inf", "/install", "/subdirs"));
|
||||||
|
|
||||||
|
Pop-Location;
|
||||||
|
Remove-Item -Recurse $tempDir;
|
Loading…
Reference in a new issue