Get changelog and patron list from repo

This commit is contained in:
N00MKRAD
2021-03-13 14:32:29 +01:00
parent 545f1a50b4
commit 0f4ec91faf
2 changed files with 199 additions and 9 deletions

View File

@@ -12,20 +12,12 @@ namespace Flowframes.UI
{
public static async Task LoadNews (Label newsLabel)
{
string url = $"http://dl.nmkd.de/flowframes/changelog.txt";
string url = $"https://raw.githubusercontent.com/n00mkrad/flowframes/main/changelog.txt";
var client = new WebClient();
var str = await client.DownloadStringTaskAsync(new Uri(url));
newsLabel.Text = str;
}
public static async Task LoadPatronList(Label patronsLabel)
{
string url = $"http://dl.nmkd.de/flowframes/patreon.txt";
var client = new WebClient();
var str = await client.DownloadStringTaskAsync(new Uri(url));
patronsLabel.Text = str;
}
public static async Task LoadPatronListCsv(Label patronsLabel)
{
string url = $"http://dl.nmkd.de/flowframes/patrons.csv";