fix sheepit GPU selection

This commit is contained in:
Nathan
2025-12-17 16:55:36 -07:00
parent 3833311f11
commit 84a518a9c9
3 changed files with 5248 additions and 4 deletions

View File

@@ -105,7 +105,9 @@ namespace UnifiedFarmLauncher.ViewModels
if (worker.WorkerTypes.SheepIt != null)
{
HasSheepIt = true;
SheepItGpu = worker.WorkerTypes.SheepIt.Gpu;
SheepItGpu = string.IsNullOrEmpty(worker.WorkerTypes.SheepIt.Gpu)
? "OPTIX_0"
: worker.WorkerTypes.SheepIt.Gpu;
}
if (worker.WorkerTypes.Flamenco != null)