Skip to content
This repository has been archived by the owner on Apr 6, 2024. It is now read-only.

Commit

Permalink
Merge pull request #17 from LTS-FFXIV/LTS-FFXIV-Patch-2
Browse files Browse the repository at this point in the history
Update downloadList.json
  • Loading branch information
Jaksuhn committed Jan 20, 2024
2 parents 4570ad4 + 278d175 commit 4eff940
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions Resources/downloadList.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[
"ArchiDog1998|FFXIVRotations|DefaultRotations",
"IncognitoWater|IncognitoWaterRotations|IcWaRotations",
"thunderebolt|BoltsRotations|BoltsRotations",
"BrakusTapus|KirboRotations|KirboRotations"
"LTS-FFXIV|LTSRotatos|LTSRotatos"
"BrakusTapus|KirboRotations|KirboRotations",
"LTS-FFXIV|LTSRotatos|LTSRotatos",
"LTS-FFXIV|LTSRotatos|KG.Kirbo"
]
10 changes: 5 additions & 5 deletions RotationSolver/Helpers/DownloadHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ public static class DownloadHelper

public static async Task DownloadAsync()
{
LinkLibraries = await DownloadOneAsync<string[]>($"https://raw.githubusercontent.com/{Service.USERNAME}/{Service.REPO}/main/Resources/downloadList.json") ?? Array.Empty<string>();
IncompatiblePlugins = await DownloadOneAsync<IncompatiblePlugin[]>($"https://raw.githubusercontent.com/{Service.USERNAME}/{Service.REPO}/main/Resources/IncompatiblePlugins.json") ?? Array.Empty<IncompatiblePlugin>();
LinkLibraries = await DownloadOneAsync<string[]>($"https://raw.githubusercontent.com/Jaksuhn/RotationSolver//main/Resources/downloadList.json") ?? Array.Empty<string>();
IncompatiblePlugins = await DownloadOneAsync<IncompatiblePlugin[]>($"https://raw.githubusercontent.com/Jaksuhn/RotationSolver/main/Resources/IncompatiblePlugins.json") ?? Array.Empty<IncompatiblePlugin>();

ContributorsHash = await DownloadOneAsync<string[]>($"https://raw.githubusercontent.com/{Service.USERNAME}/{Service.REPO}/main/Resources/ContributorsHash.json") ?? Array.Empty<string>();
ContributorsHash = await DownloadOneAsync<string[]>($"https://raw.githubusercontent.com/Jaksuhn/RotationSolver//main/Resources/ContributorsHash.json") ?? Array.Empty<string>();

UsersHash = await DownloadOneAsync<string[]>($"https://raw.githubusercontent.com/{Service.USERNAME}/{Service.REPO}/main/Resources/UsersHash.json") ?? Array.Empty<string>();
UsersHash = await DownloadOneAsync<string[]>($"https://raw.githubusercontent.com/Jaksuhn/RotationSolver/main/Resources/UsersHash.json") ?? Array.Empty<string>();

Supporters = await DownloadOneAsync<string[]>($"https://raw.githubusercontent.com/{Service.USERNAME}/{Service.REPO}/main/Resources/Supporters.json") ?? Array.Empty<string>();
Supporters = await DownloadOneAsync<string[]>($"https://raw.githubusercontent.com/Jaksuhn/RotationSolver/main/Resources/Supporters.json") ?? Array.Empty<string>();
}

private static async Task<T> DownloadOneAsync<T>(string url)
Expand Down

0 comments on commit 4eff940

Please sign in to comment.