diff --git a/package.json b/package.json index 515bcc2b6..909cdbe65 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "tari-universe", "private": true, - "version": "0.5.59", + "version": "0.5.60", "type": "module", "scripts": { "dev": "vite dev --mode development", diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index aaf3f0066..b69c69f8f 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -6501,7 +6501,7 @@ dependencies = [ [[package]] name = "tari-universe" -version = "0.5.59" +version = "0.5.60" dependencies = [ "anyhow", "async-trait", diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index c95e8e5b6..fa51c80ab 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -4,17 +4,17 @@ description = "Tari Universe" edition = "2021" name = "tari-universe" repository = "https://github.com/tari-project/universe" -version = "0.5.59" +version = "0.5.60" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [build-dependencies] -tauri-build = {version = "1.5.5", features = ["isolation"]} +tauri-build = {version = "1.5.5", features = ["isolation"] } [dependencies] anyhow = "1" async-trait = "0.1.81" -async_zip = {version = "0.0.17", features = ["full"]} +async_zip = {version = "0.0.17", features = ["full"] } auto-launch = "0.5.0" blake2 = "0.10" chrono = "0.4.38" @@ -29,26 +29,26 @@ keyring = {version = "3.0.5", features = [ "windows-native", "apple-native", "linux-native", -]} +] } libsqlite3-sys = {version = "0.25.1", features = [ "bundled", -]}# Required for tari_wallet +] }# Required for tari_wallet log = "0.4.22" log4rs = "1.3.0" minotari_node_grpc_client = {git = "https://github.com/tari-project/tari.git", branch = "development"} minotari_wallet_grpc_client = {git = "https://github.com/tari-project/tari.git", branch = "development"} -nix = {version = "0.29.0", features = ["signal"]} +nix = {version = "0.29.0", features = ["signal"] } nvml-wrapper = "0.10.0" open = "5" phraze = "0.3.15" rand = "0.8.5" regex = "1.10.5" -reqwest = {version = "0.12.5", features = ["stream", "json", "multipart"]} +reqwest = {version = "0.12.5", features = ["stream", "json", "multipart"] } sanitize-filename = "0.5" semver = "1.0.23" -sentry = {version = "0.34.0", features = ["anyhow"]} +sentry = {version = "0.34.0", features = ["anyhow"] } sentry-tauri = "0.3.0" -serde = {version = "1", features = ["derive"]} +serde = {version = "1", features = ["derive"] } serde_json = "1" sha2 = "0.10.8" sys-locale = "0.3.1" @@ -58,7 +58,7 @@ tari_common = {git = "https://github.com/tari-project/tari.git", branch = "devel tari_common_types = {git = "https://github.com/tari-project/tari.git", branch = "development"} tari_core = {git = "https://github.com/tari-project/tari.git", branch = "development", features = [ "transactions", -]} +] } tari_crypto = "0.21.0" tari_key_manager = {git = "https://github.com/tari-project/tari.git", branch = "development"} tari_shutdown = {git = "https://github.com/tari-project/tari.git", branch = "development"} @@ -80,12 +80,12 @@ tauri = {version = "1.8.0", features = [ "icon-ico", "icon-png", "process-command-api", -]} +] } tauri-plugin-single-instance = {git = "https://github.com/tauri-apps/plugins-workspace", branch = "v1"} thiserror = "1.0.26" -tokio = {version = "1", features = ["full"]} -tokio-util = {version = "0.7.11", features = ["compat"]} -xz2 = {version = "0.1.7", features = ["static"]}# static bind lzma +tokio = {version = "1", features = ["full"] } +tokio-util = {version = "0.7.11", features = ["compat"] } +xz2 = {version = "0.1.7", features = ["static"] }# static bind lzma zip = "2.2.0" [target.'cfg(windows)'.dependencies] @@ -94,7 +94,7 @@ winreg = "0.52.0" # needed for keymanager. TODO: Find a way of creating a keymanager without bundling sqlite chrono = "0.4.38" device_query = "2.1.0" -libsqlite3-sys = {version = "0.25.1", features = ["bundled"]} +libsqlite3-sys = {version = "0.25.1", features = ["bundled"] } log = "0.4.22" nvml-wrapper = "0.10.0" rand = "0.8.5" diff --git a/src-tauri/binaries_versions_esmeralda.json b/src-tauri/binaries_versions_esmeralda.json index 742f90f17..befd90287 100644 --- a/src-tauri/binaries_versions_esmeralda.json +++ b/src-tauri/binaries_versions_esmeralda.json @@ -4,7 +4,7 @@ "mmproxy": "=1.8.0-pre.0", "minotari_node": "=1.8.0-pre.0", "wallet": "=1.8.0-pre.0", - "sha-p2pool": "=0.6.11", + "sha-p2pool": "=0.6.12", "xtrgpuminer": "=0.1.17", "tor": "=13.5.7" } diff --git a/src-tauri/binaries_versions_nextnet.json b/src-tauri/binaries_versions_nextnet.json index b6ce42fe3..21e5eb05c 100644 --- a/src-tauri/binaries_versions_nextnet.json +++ b/src-tauri/binaries_versions_nextnet.json @@ -4,7 +4,7 @@ "mmproxy": "=1.8.0-rc.0", "minotari_node": "=1.8.0-rc.0", "wallet": "=1.8.0-rc.0", - "sha-p2pool": "=0.6.11", + "sha-p2pool": "=0.6.12", "xtrgpuminer": "=0.1.17", "tor": "=13.5.7" } diff --git a/src-tauri/src/app_config.rs b/src-tauri/src/app_config.rs index 238f1a03d..9fad0b41a 100644 --- a/src-tauri/src/app_config.rs +++ b/src-tauri/src/app_config.rs @@ -61,7 +61,7 @@ pub struct AppConfigFromFile { mmproxy_use_monero_fail: bool, #[serde(default = "default_monero_nodes")] mmproxy_monero_nodes: Vec, - #[serde(default = "default_false")] + #[serde(default = "default_true")] auto_update: bool, } @@ -93,7 +93,7 @@ impl Default for AppConfigFromFile { ludicrous_mode_cpu_threads: None, mmproxy_monero_nodes: vec!["https://xmr-01.tari.com".to_string()], mmproxy_use_monero_fail: false, - auto_update: false, + auto_update: true, reset_earnings: false, } } @@ -211,7 +211,7 @@ impl AppConfig { ludicrous_mode_cpu_threads: None, mmproxy_use_monero_fail: false, mmproxy_monero_nodes: vec!["https://xmr-01.tari.com".to_string()], - auto_update: false, + auto_update: true, } } @@ -281,6 +281,11 @@ impl AppConfig { self.config_version = 9; self.mine_on_app_start = true; } + + if self.config_version <= 9 { + self.auto_update = true; + self.config_version = 10; + } } pub fn mmproxy_monero_nodes(&self) -> &Vec { @@ -542,7 +547,7 @@ impl AppConfig { } fn default_version() -> u32 { - 9 + 10 } fn default_mode() -> String { diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 2a8326420..f820cfa9c 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -7,7 +7,7 @@ }, "package": { "productName": "Tari Universe (Alpha)", - "version": "0.5.59" + "version": "0.5.60" }, "tauri": { "systemTray": {