udater changes
This commit is contained in:
parent
f87522d167
commit
418182ce08
@ -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"
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user