Skip to content

Commit

Permalink
rename the repo
Browse files Browse the repository at this point in the history
switched back to old asset downloader. woops, never meant to release that
  • Loading branch information
mattpannella committed Nov 3, 2022
1 parent 6ea432f commit 1aff568
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 15 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/announce.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)" }
]
}]
}' \
Expand Down
4 changes: 2 additions & 2 deletions Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Oh Hi ##
[![Current Release](https://img.shields.io/github/v/release/mattpannella/pocket_core_autoupdate_net?label=Current%20Release)](https://github.com/mattpannella/pocket_core_autoupdate_net/releases/latest) ![Downloads](https://img.shields.io/github/downloads/mattpannella/pocket_core_autoupdate_net/latest/total?label=Downloads)
[![Current Release](https://img.shields.io/github/v/release/mattpannella/pocket-updater-utility?label=Current%20Release)](https://github.com/mattpannella/pocket-updater-utility/releases/latest) ![Downloads](https://img.shields.io/github/downloads/mattpannella/pocket-updater-utility/latest/total?label=Downloads)
[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/donate/?business=YEERX89E75HQ8&no_recurring=1&currency_code=USD)

A free utility for updating the openFPGA cores, and firmware, on your Analogue Pocket.
Expand Down
8 changes: 4 additions & 4 deletions Updater.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down Expand Up @@ -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.");
Expand Down
4 changes: 2 additions & 2 deletions pocket_updater.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<Version>2.6.0</Version>
<Version>2.6.1</Version>
<Description>Keep your Analogue Pocket up to date</Description>
<Copyright>2022 Matt Pannella</Copyright>
<Authors>Matt Pannella</Authors>
<Product>Analogue Pocket Updater Utility</Product>
<RepositoryUrl>https://github.com/mattpannella/pocket_core_autoupdate_net</RepositoryUrl>
<RepositoryUrl>https://github.com/mattpannella/pocket-updater-utility</RepositoryUrl>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="CommandLineParser" Version="2.9.1"/>
Expand Down
2 changes: 1 addition & 1 deletion services/AssetsService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Dictionary<string, Dependency>> GetAssets()
{
Expand Down
2 changes: 1 addition & 1 deletion services/CoresService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<List<Core>> GetCores()
{
Expand Down

0 comments on commit 1aff568

Please sign in to comment.