Skip to content

Commit

Permalink
oopsie
Browse files Browse the repository at this point in the history
  • Loading branch information
jvyden committed Oct 13, 2024
1 parent a58f51d commit b31ca33
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion Refresher.Core/Pipelines/Steps/DownloadGameLicenseStep.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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")))
Expand Down
2 changes: 1 addition & 1 deletion Refresher/UI/PipelineForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit b31ca33

Please sign in to comment.