diff --git a/.github/workflows/announce.yml b/.github/workflows/announce.yml index c1e7da7d..8b588e41 100644 --- a/.github/workflows/announce.yml +++ b/.github/workflows/announce.yml @@ -23,11 +23,11 @@ jobs: "color": 4819409, "title": "You are now the corn man. A new Pocket Updater Utility build has been released.", "fields": [ - { "name": "Release Notes", "value": "[Click Me](https://github.com/mattpannella/pocket_core_autoupdate_net/releases/tag/${{ github.event.release.tag_name }})", "inline": true }, + { "name": "Release Notes", "value": "[Click Me](https://github.com/mattpannella/pocket-updater-utility/releases/tag/${{ github.event.release.tag_name }})", "inline": true }, { "name": "Version", "value": "${{ github.event.release.tag_name }}", "inline": true }, - { "name": "Windows Build", "value": "[Download Me](https://github.com/mattpannella/pocket_core_autoupdate_net/releases/download/${{ github.event.release.tag_name }}/pocket_updater_win.zip)" }, - { "name": "macOS Build", "value": "[Or Me](https://github.com/mattpannella/pocket_core_autoupdate_net/releases/download/${{ github.event.release.tag_name }}/pocket_updater_mac.zip)" }, - { "name": "Linux Build", "value": "[This is a virus](https://github.com/mattpannella/pocket_core_autoupdate_net/releases/download/${{ github.event.release.tag_name }}/pocket_updater_linux.zip)" } + { "name": "Windows Build", "value": "[Download Me](https://github.com/mattpannella/pocket-updater-utility/releases/download/${{ github.event.release.tag_name }}/pocket_updater_win.zip)" }, + { "name": "macOS Build", "value": "[Or Me](https://github.com/mattpannella/pocket-updater-utility/releases/download/${{ github.event.release.tag_name }}/pocket_updater_mac.zip)" }, + { "name": "Linux Build", "value": "[This is a virus](https://github.com/mattpannella/pocket-updater-utility/releases/download/${{ github.event.release.tag_name }}/pocket_updater_linux.zip)" } ] }] }' \ diff --git a/Program.cs b/Program.cs index e04998c0..fa146c23 100644 --- a/Program.cs +++ b/Program.cs @@ -6,8 +6,8 @@ internal class Program { private static string version = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString(3); private const string USER = "mattpannella"; - private const string REPOSITORY = "pocket_core_autoupdate_net"; - private const string RELEASE_URL = "https://github.com/mattpannella/pocket_core_autoupdate_net/releases/download/{0}/pocket_updater_{1}.zip"; + private const string REPOSITORY = "pocket-updater-utility"; + private const string RELEASE_URL = "https://github.com/mattpannella/pocket-updater-utility/releases/download/{0}/pocket_updater_{1}.zip"; private static async Task Main(string[] args) { try { diff --git a/Updater.cs b/Updater.cs index 6457dd65..8816f3a8 100644 --- a/Updater.cs +++ b/Updater.cs @@ -264,8 +264,8 @@ public async Task RunUpdates() _writeMessage("Updating core"); } else { if(_assets.ContainsKey(core.identifier)) { - //var list = await _DownloadAssets(_assets[core.identifier]); //check for roms even if core isn't updating - var list = await _DownloadAssetsNew(core.identifier, mostRecentRelease.assets); + var list = await _DownloadAssets(_assets[core.identifier]); //check for roms even if core isn't updating + //var list = await _DownloadAssetsNew(core.identifier, mostRecentRelease.assets); installedAssets.AddRange(list); } _writeMessage("Up to date. Skipping core"); @@ -300,8 +300,8 @@ public async Task RunUpdates() continue; } if(_assets.ContainsKey(core.identifier)) { - //var list = await _DownloadAssets(_assets[core.identifier]); - var list = await _DownloadAssetsNew(core.identifier, mostRecentRelease.assets); + var list = await _DownloadAssets(_assets[core.identifier]); + //var list = await _DownloadAssetsNew(core.identifier, mostRecentRelease.assets); installedAssets.AddRange(list); } _writeMessage("Installation complete."); diff --git a/pocket_updater.csproj b/pocket_updater.csproj index 1faa0569..2a3849b3 100644 --- a/pocket_updater.csproj +++ b/pocket_updater.csproj @@ -6,12 +6,12 @@ net6.0 enable enable - 2.6.0 + 2.6.1 Keep your Analogue Pocket up to date 2022 Matt Pannella Matt Pannella Analogue Pocket Updater Utility - https://github.com/mattpannella/pocket_core_autoupdate_net + https://github.com/mattpannella/pocket-updater-utility diff --git a/services/AssetsService.cs b/services/AssetsService.cs index 55e3e25b..deb84a18 100644 --- a/services/AssetsService.cs +++ b/services/AssetsService.cs @@ -4,7 +4,7 @@ namespace pannella.analoguepocket; public static class AssetsService { - private const string END_POINT = "https://raw.githubusercontent.com/mattpannella/pocket_core_autoupdate_net/main/pocket_updater_assets.json"; + private const string END_POINT = "https://raw.githubusercontent.com/mattpannella/pocket-updater-utility/main/pocket_updater_assets.json"; public static async Task> GetAssets() { diff --git a/services/CoresService.cs b/services/CoresService.cs index 46a152fa..b853c7b0 100644 --- a/services/CoresService.cs +++ b/services/CoresService.cs @@ -5,7 +5,7 @@ namespace pannella.analoguepocket; public static class CoresService { private const string END_POINT = "https://joshcampbell191.github.io/openfpga-cores-inventory/api/v1/analogue-pocket/cores.json"; - private const string OTHER = "https://raw.githubusercontent.com/mattpannella/pocket_core_autoupdate_net/main/pocket_updater_cores.json"; + private const string OTHER = "https://raw.githubusercontent.com/mattpannella/pocket-updater-utility/main/pocket_updater_cores.json"; public static async Task> GetCores() {