Skip to content

Commit

Permalink
fix release type (fixes #132), update assembly info string
Browse files Browse the repository at this point in the history
  • Loading branch information
unitycoder committed Oct 1, 2023
1 parent a86ab36 commit 40532ca
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
12 changes: 7 additions & 5 deletions UnityLauncherPro/GetUnityInstallations.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,18 +65,20 @@ public static List<UnityInstallation> Scan()
unity.IsPreferred = (version == MainWindow.preferredVersion);
unity.ProjectCount = GetProjectCountForUnityVersion(version);

if (Tools.IsLTS(version))
{
unity.ReleaseType = "LTS";
}
else if (Tools.IsAlpha(version))
if (Tools.IsAlpha(version))
{
unity.ReleaseType = "Alpha";
}
else if (Tools.IsBeta(version))
{
unity.ReleaseType = "Beta";
}
else
if (Tools.IsLTS(version))

{
unity.ReleaseType = "LTS";
}
else
{
unity.ReleaseType = ""; // cannot be null for UnitysFilter to work properly
Expand Down
4 changes: 2 additions & 2 deletions UnityLauncherPro/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("UnityLauncherPro")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyDescription("Unity Hub Alternative")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("UnityCoder.com")]
[assembly: AssemblyProduct("UnityLauncherPro")]
[assembly: AssemblyCopyright("Copyright © 2019")]
[assembly: AssemblyCopyright("Copyright © 2023")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand Down

0 comments on commit 40532ca

Please sign in to comment.