clean up
This commit is contained in:
parent
9dfc3b21ff
commit
0b0779f8b7
32 changed files with 137 additions and 181 deletions
|
@ -14,7 +14,7 @@ pub struct MinecraftPackageJson {
|
|||
const META: &str = "https://meta.prismlauncher.org/v1";
|
||||
const MINECRAFT_PACKAGEJSON: &str = "/net.minecraft/package.json";
|
||||
|
||||
pub async fn get_latest_minecraft_version() -> Result<String> {
|
||||
pub async fn latest_minecraft_version() -> Result<String> {
|
||||
let url = format!("{META}{MINECRAFT_PACKAGEJSON}");
|
||||
|
||||
debug!("Making request to {url}");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue