chore: refactor auto update #8
@@ -158,15 +158,15 @@ impl AutoUpdateStatus {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, Deserialize)]
|
#[derive(Debug, Deserialize)]
|
||||||
struct GitHubRelease {
|
pub struct GitHubRelease {
|
||||||
tag_name: String,
|
pub tag_name: String,
|
||||||
assets: Vec<GitHubAsset>,
|
pub assets: Vec<GitHubAsset>,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, Deserialize)]
|
#[derive(Debug, Deserialize)]
|
||||||
struct GitHubAsset {
|
pub struct GitHubAsset {
|
||||||
name: String,
|
pub name: String,
|
||||||
browser_download_url: String,
|
pub browser_download_url: String,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
|
|||||||
Reference in New Issue
Block a user