Working backend-frontend launcher

This commit is contained in:
2025-08-23 10:01:22 +02:00
parent bd903b861d
commit da55cf1124
3 changed files with 21 additions and 26 deletions
+2
View File
@@ -27,6 +27,8 @@ fn download(version: &str) {
let game_path = path!(&base_path, "minecraft");
let jre_path = path!(&base_path, "jre");
println!("Downloading {version}");
match smallauncher_lib::download::download_minecraft_version(&game_path, &jre_path, &version) {
Ok(_) => println!("Download completed!"),
Err(e) => println!("Download failed: {:?}", e),