Skip to content

Commit

Permalink
Prep for v1.5.9
Browse files Browse the repository at this point in the history
  • Loading branch information
RetroDriven committed Nov 20, 2023
1 parent 9477b13 commit 6ffe327
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
18 changes: 17 additions & 1 deletion Controls/Manage_Cores/ManageCores.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
using pannella.analoguepocket;
using System.Text.Json;
using Pocket_Updater.Forms.Message_Box;
using System.Xml.Linq;

namespace Pocket_Updater.Controls.Manage_Cores
{
Expand Down Expand Up @@ -137,7 +138,22 @@ public async Task LoadCores()
string Core_Author = Identifier.Substring(0, (Identifier.Length - 1));

//array containing the data for the 3 columns
object[] rows = { !_settingsManager.GetCoreSettings(core.identifier).skip, core.platform.name, Core_Author };
//the core platform name from the api
var platform = core.ReadPlatformFile();

//readt he platform json file
var name = core.platform.name;

//if it finds one, use the name from there instead
if (platform != null)
{
name = platform.name;
}
if (core.requires_license)
{
name += " (Beta Key Required from Patreon)";
}
object[] rows = { !_settingsManager.GetCoreSettings(core.identifier).skip, name, Core_Author };
int index = dataGridView1.Rows.Add(rows);

dataGridView1.Rows[index].Tag = core.identifier;
Expand Down
1 change: 1 addition & 0 deletions Controls/Update_Pocket/Update_Pocket.cs
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,7 @@ private void _updater_UpdateProcessComplete(object? sender, UpdateProcessComplet
//JT Beta Key
if (e.MissingBetaKeys.Count > 0)
{
Summary.textBox1.AppendText(Environment.NewLine);
Summary.textBox1.AppendText("Missing/Incorrect JT Beta Key For:");
Summary.textBox1.AppendText(Environment.NewLine);
Summary.textBox1.AppendText("-----------------------");
Expand Down

0 comments on commit 6ffe327

Please sign in to comment.