-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added self updating support (through github releases)
- Loading branch information
1 parent
43d00cb
commit 4674cd7
Showing
13 changed files
with
331 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace Emerald.WinUI.Helpers.Updater; | ||
public class Asset | ||
{ | ||
public string url { get; set; } | ||
public int id { get; set; } | ||
public string node_id { get; set; } | ||
public string name { get; set; } | ||
public object label { get; set; } | ||
public Uploader uploader { get; set; } | ||
public string content_type { get; set; } | ||
public string state { get; set; } | ||
public int size { get; set; } | ||
public int download_count { get; set; } | ||
public DateTime created_at { get; set; } | ||
public DateTime updated_at { get; set; } | ||
public string browser_download_url { get; set; } | ||
} | ||
|
||
public class Author | ||
{ | ||
public string login { get; set; } | ||
public int id { get; set; } | ||
public string node_id { get; set; } | ||
public string avatar_url { get; set; } | ||
public string gravatar_id { get; set; } | ||
public string url { get; set; } | ||
public string html_url { get; set; } | ||
public string followers_url { get; set; } | ||
public string following_url { get; set; } | ||
public string gists_url { get; set; } | ||
public string starred_url { get; set; } | ||
public string subscriptions_url { get; set; } | ||
public string organizations_url { get; set; } | ||
public string repos_url { get; set; } | ||
public string events_url { get; set; } | ||
public string received_events_url { get; set; } | ||
public string type { get; set; } | ||
public bool site_admin { get; set; } | ||
} | ||
|
||
public class Release | ||
{ | ||
public string url { get; set; } | ||
public string assets_url { get; set; } | ||
public string upload_url { get; set; } | ||
public string html_url { get; set; } | ||
public int id { get; set; } | ||
public Author author { get; set; } | ||
public string node_id { get; set; } | ||
public string tag_name { get; set; } | ||
public string target_commitish { get; set; } | ||
public string name { get; set; } | ||
public bool draft { get; set; } | ||
public bool prerelease { get; set; } | ||
public DateTime created_at { get; set; } | ||
public DateTime published_at { get; set; } | ||
public List<Asset> assets { get; set; } | ||
public string tarball_url { get; set; } | ||
public string zipball_url { get; set; } | ||
public string body { get; set; } | ||
} | ||
|
||
public class Uploader | ||
{ | ||
public string login { get; set; } | ||
public int id { get; set; } | ||
public string node_id { get; set; } | ||
public string avatar_url { get; set; } | ||
public string gravatar_id { get; set; } | ||
public string url { get; set; } | ||
public string html_url { get; set; } | ||
public string followers_url { get; set; } | ||
public string following_url { get; set; } | ||
public string gists_url { get; set; } | ||
public string starred_url { get; set; } | ||
public string subscriptions_url { get; set; } | ||
public string organizations_url { get; set; } | ||
public string repos_url { get; set; } | ||
public string events_url { get; set; } | ||
public string received_events_url { get; set; } | ||
public string type { get; set; } | ||
public bool site_admin { get; set; } | ||
} | ||
|
Oops, something went wrong.