Skip to content

Commit

Permalink
Merge pull request #49 from mattpannella/develop
Browse files Browse the repository at this point in the history
rename the repo
  • Loading branch information
mattpannella authored Nov 3, 2022
2 parents cd718bd + 1aff568 commit f3b348a
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 14 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
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 f3b348a

Please sign in to comment.