Skip to content

Commit

Permalink
Merge pull request #164 from ionite34/combine-jenkinsfile
Browse files Browse the repository at this point in the history
Use name instead of displayName for install location in one-click
  • Loading branch information
ionite34 authored Jul 26, 2023
2 parents 7b3222a + 92e0e35 commit ede3e56
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ private async Task DoInstall()
SubHeaderText = "Getting latest version...";
var latestVersion = await SelectedPackage.GetLatestVersion();
SelectedPackage.InstallLocation =
Path.Combine(libraryDir, "Packages", SelectedPackage.DisplayName);
Path.Combine(libraryDir, "Packages", SelectedPackage.Name);
SelectedPackage.ConsoleOutput += (_, output) => SubSubHeaderText = output.Text;

await DownloadPackage(latestVersion);
Expand All @@ -118,7 +118,7 @@ private async Task DoInstall()
var installedPackage = new InstalledPackage
{
DisplayName = SelectedPackage.DisplayName,
LibraryPath = Path.Combine("Packages", SelectedPackage.DisplayName),
LibraryPath = Path.Combine("Packages", SelectedPackage.Name),
Id = Guid.NewGuid(),
PackageName = SelectedPackage.Name,
PackageVersion = latestVersion,
Expand Down

0 comments on commit ede3e56

Please sign in to comment.