Install drivers in proper phase

This commit is contained in:
Manuel Thalmann 2024-08-07 18:54:07 +02:00
parent 1231cfa663
commit 665f455631

View file

@ -143,6 +143,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
@ -165,6 +166,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;