Re-implement OsuGameDesktop icon

This commit is contained in:
smoogipoo
2018-03-26 18:55:55 +09:00
parent c6b9c4b588
commit b9f456402a
2 changed files with 4 additions and 2 deletions

View File

@ -2,8 +2,10 @@
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using osu.Desktop.Overlays;
using osu.Framework.Graphics.Containers;
@ -98,7 +100,7 @@ namespace osu.Desktop
{
desktopWindow.CursorState |= CursorState.Hidden;
// desktopWindow.Icon = new Icon(Assembly.GetExecutingAssembly().GetManifestResourceStream(GetType(), "lazer.ico"));
desktopWindow.Icon = new Icon(Assembly.GetExecutingAssembly().GetManifestResourceStream(GetType(), "lazer.ico"));
desktopWindow.Title = Name;
desktopWindow.FileDrop += fileDrop;