udater changes

This commit is contained in:
Samuel Walker 2024-06-27 17:23:30 -06:00
parent f87522d167
commit 418182ce08
2 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,6 @@
[package]
name = "fclauncher"
version = "0.0.1"
version = "0.0.3"
description = "Launcher for Familycraft"
authors = ["Samuel Walker", "Benjamin Walker"]
edition = "2021"

View File

@ -30,8 +30,9 @@ fn greet(name: &str) -> String {
fn main() {
let status = self_update::backends::gitea::Update::configure().with_host("https://gitea.piwalker.net").repo_owner("piwalker").repo_name("FCLauncher").bin_name("FCLauncher").show_download_progress(true).current_version(cargo_crate_version!()).build().unwrap().update().unwrap();
let status = self_update::backends::gitea::Update::configure().no_confirm(true).with_host("https://gitea.piwalker.net").repo_owner("piwalker").repo_name("FCLauncher").bin_name("FCLauncher").show_download_progress(true).current_version(cargo_crate_version!()).build().unwrap().update().unwrap();
println!("update status: `{}`", status.version());
println!("This is the updated version!");
modpack::get_modpacks();
//prism::install_prism();
tauri::Builder::default()