worker prints start success but no attachment yet

This commit is contained in:
Nathan
2025-12-17 16:32:39 -07:00
parent 4628fafc79
commit 0460865ebc
10 changed files with 7160 additions and 45 deletions

View File

@@ -9,6 +9,7 @@ namespace UnifiedFarmLauncher.ViewModels
private string _sheepItUsername = string.Empty;
private string _sheepItRenderKey = string.Empty;
private bool _isRenderKeyVisible = false;
private string _flamencoWorkerPath = string.Empty;
public GlobalSettingsViewModel(ConfigService configService)
{
@@ -34,11 +35,18 @@ namespace UnifiedFarmLauncher.ViewModels
set => SetAndRaise(ref _isRenderKeyVisible, value);
}
public string FlamencoWorkerPath
{
get => _flamencoWorkerPath;
set => SetAndRaise(ref _flamencoWorkerPath, value);
}
private void LoadSettings()
{
var config = _configService.Load();
SheepItUsername = config.GlobalSettings.SheepItUsername;
SheepItRenderKey = config.GlobalSettings.SheepItRenderKey;
FlamencoWorkerPath = config.GlobalSettings.FlamencoWorkerPath;
}
public void Save()
@@ -46,6 +54,7 @@ namespace UnifiedFarmLauncher.ViewModels
var config = _configService.Load();
config.GlobalSettings.SheepItUsername = SheepItUsername;
config.GlobalSettings.SheepItRenderKey = SheepItRenderKey;
config.GlobalSettings.FlamencoWorkerPath = FlamencoWorkerPath;
_configService.Save(config);
}
}