mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-14 08:26:40 +00:00
Fix Updater Icon On Linux (#1995)
* Fix Linux Icon * Fix identation * Move the icon to the private constructor
This commit is contained in:
parent
ee28ccebf4
commit
1319eda8b7
1 changed files with 3 additions and 1 deletions
|
@ -5,6 +5,7 @@ using Ryujinx.Ui;
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
using System.Reflection;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
namespace Ryujinx.Modules
|
namespace Ryujinx.Modules
|
||||||
|
@ -32,6 +33,7 @@ namespace Ryujinx.Modules
|
||||||
_mainWindow = mainWindow;
|
_mainWindow = mainWindow;
|
||||||
_buildUrl = buildUrl;
|
_buildUrl = buildUrl;
|
||||||
|
|
||||||
|
Icon = new Gdk.Pixbuf(Assembly.GetExecutingAssembly(), "Ryujinx.Ui.Resources.Logo_Ryujinx.png");
|
||||||
MainText.Text = "Do you want to update Ryujinx to the latest version?";
|
MainText.Text = "Do you want to update Ryujinx to the latest version?";
|
||||||
SecondaryText.Text = $"{Program.Version} -> {newVersion}";
|
SecondaryText.Text = $"{Program.Version} -> {newVersion}";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue