mirror of
https://github.com/alterware/alterware-launcher.git
synced 2025-12-04 07:17:50 +00:00
bruh
This commit is contained in:
@@ -9,10 +9,10 @@ use std::fs;
|
|||||||
use std::path::Path;
|
use std::path::Path;
|
||||||
|
|
||||||
pub async fn remote_revision() -> u16 {
|
pub async fn remote_revision() -> u16 {
|
||||||
match github::latest_tag(GH_IW4X_OWNER, GH_IW4X_OWNER).await {
|
match github::latest_tag(GH_IW4X_OWNER, GH_IW4X_REPO).await {
|
||||||
Ok(tag) => misc::rev_to_int(&tag),
|
Ok(tag) => misc::rev_to_int(&tag),
|
||||||
Err(_) => {
|
Err(_) => {
|
||||||
crate::println_error!("Failed to get latest version for {GH_IW4X_OWNER}/{GH_IW4X_OWNER}, assuming we are up to date.");
|
crate::println_error!("Failed to get latest version for {GH_IW4X_OWNER}/{GH_IW4X_REPO}, assuming we are up to date.");
|
||||||
0
|
0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user