mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-12-13 07:34:36 +01:00
Linting
This commit is contained in:
@@ -6,7 +6,8 @@ pub struct Release {
|
||||
|
||||
#[tauri::command]
|
||||
pub async fn get_latest_release() -> Release {
|
||||
let url = "https://api.github.com/repos/Grasscutters/Cultivation/releases/latest";
|
||||
// NotThorny edition requests to repo so as to avoid update spam from official repo -alpha version diff.
|
||||
let url = "https://api.github.com/repos/NotThorny/Cultivation/releases/latest";
|
||||
let client = reqwest::Client::new();
|
||||
let response = client
|
||||
.get(url)
|
||||
|
||||
Reference in New Issue
Block a user