Skip to content

Commit

Permalink
woops. dont rush (#178)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattpannella authored Sep 7, 2023
1 parent dc26e0d commit 459737b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pocket_updater.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<Version>2.32.1</Version>
<Version>2.32.2</Version>
<Description>Keep your Analogue Pocket up to date</Description>
<Copyright>2023 Matt Pannella</Copyright>
<Authors>Matt Pannella</Authors>
Expand Down
4 changes: 3 additions & 1 deletion src/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ private static async Task Main(string[] args)
}
);

//path = "/Users/mattpannella/pocket-test";
//path = "/Users/mattpannella/pocket-test/test";

ConsoleKey response;

Expand Down Expand Up @@ -576,6 +576,7 @@ static void updater_UpdateProcessComplete(object sender, UpdateProcessCompleteEv

private static void ShowSponsorLinks()
{
if (GlobalHelper.Instance.InstalledCores.Count == 0) return;
var random = new Random();
var index = random.Next(GlobalHelper.Instance.InstalledCores.Count);
var randomItem = GlobalHelper.Instance.InstalledCores[index];
Expand All @@ -598,6 +599,7 @@ private static void ShowSponsorLinks()

private static void FunFacts()
{
if (GlobalHelper.Instance.InstalledCores.Count == 0) return;
List<string> cores = new List<string>();

foreach(Core c in GlobalHelper.Instance.InstalledCores) {
Expand Down

0 comments on commit 459737b

Please sign in to comment.