diff --git a/pocket_updater.csproj b/pocket_updater.csproj index 787e1c99..bbff16d3 100644 --- a/pocket_updater.csproj +++ b/pocket_updater.csproj @@ -6,7 +6,7 @@ net6.0 enable enable - 2.32.1 + 2.32.2 Keep your Analogue Pocket up to date 2023 Matt Pannella Matt Pannella diff --git a/src/Program.cs b/src/Program.cs index 1da81986..99775dd1 100644 --- a/src/Program.cs +++ b/src/Program.cs @@ -79,7 +79,7 @@ private static async Task Main(string[] args) } ); - //path = "/Users/mattpannella/pocket-test"; + //path = "/Users/mattpannella/pocket-test/test"; ConsoleKey response; @@ -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]; @@ -598,6 +599,7 @@ private static void ShowSponsorLinks() private static void FunFacts() { + if (GlobalHelper.Instance.InstalledCores.Count == 0) return; List cores = new List(); foreach(Core c in GlobalHelper.Instance.InstalledCores) {