From b31ca336b18d4443e3fbe273c29a1910223b3f93 Mon Sep 17 00:00:00 2001 From: jvyden Date: Sat, 12 Oct 2024 23:18:36 -0400 Subject: [PATCH] oopsie --- Refresher.Core/Pipelines/Steps/DownloadGameLicenseStep.cs | 5 ++++- Refresher/UI/PipelineForm.cs | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Refresher.Core/Pipelines/Steps/DownloadGameLicenseStep.cs b/Refresher.Core/Pipelines/Steps/DownloadGameLicenseStep.cs index 8499c97..a5d54d4 100644 --- a/Refresher.Core/Pipelines/Steps/DownloadGameLicenseStep.cs +++ b/Refresher.Core/Pipelines/Steps/DownloadGameLicenseStep.cs @@ -17,7 +17,10 @@ public override Task ExecuteAsync(CancellationToken cancellationToken = default) string licenseDir = Path.Join(Path.GetTempPath(), "refresher-" + Random.Shared.Next()); Directory.CreateDirectory(licenseDir); - this.Encryption.LicenseDirectory = licenseDir; + this.Pipeline.EncryptionDetails = new EncryptionDetails() + { + LicenseDirectory = licenseDir, + }; bool found = false; foreach (string user in this.Pipeline.Accessor!.GetDirectoriesInDirectory(Path.Combine("home"))) diff --git a/Refresher/UI/PipelineForm.cs b/Refresher/UI/PipelineForm.cs index c471865..469e3a2 100644 --- a/Refresher/UI/PipelineForm.cs +++ b/Refresher/UI/PipelineForm.cs @@ -146,7 +146,7 @@ private void OnButtonClick(object? sender, EventArgs e) } catch (Exception ex) { - State.Logger.LogError(LogType.Pipeline, $"Error while running pipeline {this._pipeline.Name}: {ex.Message}"); + State.Logger.LogError(LogType.Pipeline, $"Error while running pipeline {this._pipeline.Name}: {ex}"); } }, this._cts?.Token ?? default);