Skip to content
Browse files

[Launcher] Display source in tooltip for Xenko downloads

  • Loading branch information
xen2 committed Dec 17, 2018
1 parent 2c9e6eb commit 2eba4659510149fee35030269f1b062a617ede05
@@ -19,7 +19,7 @@ namespace Xenko.LauncherApp.ViewModels
internal abstract class PackageVersionViewModel : DispatcherViewModel
protected NugetLocalPackage LocalPackage;
protected NugetPackage ServerPackage;
protected NugetServerPackage ServerPackage;
private ProgressAction currentProgressAction;
private int currentProgress;
private bool isProcessing;
@@ -41,7 +41,16 @@ internal XenkoStoreVersionViewModel(LauncherViewModel launcher, NugetStore store
/// Gets the full name of this version, including revision number and special revision string.
/// </summary>
/// <remarks>If this version is installed, it will use the name of the installed version. Otherwise, it will use the name of the latest version available on the server.</remarks>
public override string FullName => Version?.ToString();
public override string FullName
var result = Version?.ToString() ?? "Unknown";
if (ServerPackage != null)
result += $" ({ServerPackage.Source})";
return result;

/// <summary>
/// Gets the full name of this version on the server.
@@ -80,7 +89,7 @@ internal void UpdateLocalPackage(NugetLocalPackage package)
/// Updates the server package of this version.
/// </summary>
/// <param name="package">The server package corresponding to this version.</param>
internal void UpdateServerPackage(NugetPackage package)
internal void UpdateServerPackage(NugetServerPackage package)
ServerPackage = package;

0 comments on commit 2eba465

Please sign in to comment.
You can’t perform that action at this time.