Move version-related properties to OsuGameBase.

This commit is contained in:
Dean Herbert
2017-03-06 17:09:48 +09:00
parent a7d7abe70e
commit 0ee38571a6
4 changed files with 44 additions and 25 deletions

View File

@ -17,8 +17,6 @@ namespace osu.Desktop
{
private VersionManager versionManager;
public override bool IsDeployedBuild => versionManager.IsDeployedBuild;
public OsuGameDesktop(string[] args = null)
: base(args)
{
@ -44,7 +42,7 @@ namespace osu.Desktop
if (desktopWindow != null)
{
desktopWindow.Icon = Icon.ExtractAssociatedIcon(Assembly.GetExecutingAssembly().Location);
desktopWindow.Title = @"osu!lazer";
desktopWindow.Title = Name;
desktopWindow.DragEnter += dragEnter;
desktopWindow.DragDrop += dragDrop;