Install drivers in proper phase

This commit is contained in:
Manuel Thalmann 2024-08-07 18:54:07 +02:00
parent a11646372a
commit 88c765b06e

View file

@ -144,6 +144,7 @@ $null = New-Module {
} }
} }
if (-not $Action -or ($Action -eq ([InstallerAction]::Install))) {
if (Get-Config "valhalla.hardware.amdCPU") { if (Get-Config "valhalla.hardware.amdCPU") {
Install-ChocoPackage amd-ryzen-master; Install-ChocoPackage amd-ryzen-master;
# ToDo: backup Ryzen energy saving plan # ToDo: backup Ryzen energy saving plan
@ -166,6 +167,7 @@ $null = New-Module {
exit; exit;
} }
} }
}
if (Get-Config "valhalla.hardware.eyeX") { if (Get-Config "valhalla.hardware.eyeX") {
. "$driverPath/Tobii EyeX/Manage.ps1" @arguments; . "$driverPath/Tobii EyeX/Manage.ps1" @arguments;