diff --git a/.updater/alpha-latest.json b/.updater/alpha-latest.json index ca70bd679..a1b9cd417 100644 --- a/.updater/alpha-latest.json +++ b/.updater/alpha-latest.json @@ -1,23 +1,23 @@ { - "version": "0.8.22", + "version": "0.8.24", "notes": "Tari Universe - See the assets to download this version and install", - "pub_date": "2024-12-13T11:42:27.210Z", + "pub_date": "2024-12-13T16:13:58.065Z", "platforms": { "linux-x86_64": { - "signature": "dW50cnVzdGVkIGNvbW1lbnQ6IHNpZ25hdHVyZSBmcm9tIHRhdXJpIHNlY3JldCBrZXkKUlVRbUtvKzlyYWhiOFdIT05sQW1ERC9JaXJkK1NGZjNQSFVaMWpyQ1hTajlQVDM3TUpYV2RNY1hWb24xOGNJZ3IzckdYSmEwSWlHVWsyNmpidGZRMFArdlZPMUJDSG9ZbndBPQp0cnVzdGVkIGNvbW1lbnQ6IHRpbWVzdGFtcDoxNzM0MDg5NTc4CWZpbGU6VGFyaSBVbml2ZXJzZV8wLjguMjJfYW1kNjQuQXBwSW1hZ2UKajk0NlByVmVoeEdYYlpRN1ZNUEY2WmpqZmdESkEwYVdJa2ZwcU9WTFZzMkx0UzJsenluRmkwQmNDMkg3ak12TEEyNVFTNDNheTl0OU91MmNyMWc2Q1E9PQo=", - "url": "https://github.com/tari-project/universe/releases/download/v0.8.22/Tari.Universe_0.8.22_amd64.AppImage" + "signature": "dW50cnVzdGVkIGNvbW1lbnQ6IHNpZ25hdHVyZSBmcm9tIHRhdXJpIHNlY3JldCBrZXkKUlVRbUtvKzlyYWhiOGRCS1A5K3c3cVlxYlFXWXgrdCt1L0s2NWcwUGJzaEZ1RXpScnpQMTM5S05va3NDcjFDWmp3TTRNYXFDb1RVSkI1eGZiNWpDUUZYZkx5NVE3aGRyQUFnPQp0cnVzdGVkIGNvbW1lbnQ6IHRpbWVzdGFtcDoxNzM0MTA0MTcxCWZpbGU6VGFyaSBVbml2ZXJzZV8wLjguMjRfYW1kNjQuQXBwSW1hZ2UKL3d4aTJzMHNoeFVwdmpTMU5QV2tnY0tMM1VHaXI3L2tobXJybnVFWFJTN0JjUjlTNTFZUXVsQWx1OFA2OXNOTGFHWkFvcHBrSkMyUnk3K1ZSc0hhQUE9PQo=", + "url": "https://github.com/tari-project/universe/releases/download/v0.8.24/Tari.Universe_0.8.24_amd64.AppImage" + }, + "windows-x86_64": { + "signature": "dW50cnVzdGVkIGNvbW1lbnQ6IHNpZ25hdHVyZSBmcm9tIHRhdXJpIHNlY3JldCBrZXkKUlVRbUtvKzlyYWhiOGRRRU13V255QmZ1TnQ1YW9XeitIQjBrcE1iOHJHMEwvbXRIKzR2bHNJSUtReSt5YlJkU1lSZ3hRS21CeWJXejlHRnZJSTdjeG4wbVZBSGJoNGxVcXdvPQp0cnVzdGVkIGNvbW1lbnQ6IHRpbWVzdGFtcDoxNzM0MTA1MTQ4CWZpbGU6VGFyaSBVbml2ZXJzZV8wLjguMjRfeDY0X2VuLVVTLm1zaS56aXAKQzQzcThJdkJ1Q053cmhDVnVlVEo1MnNtdWZTV2QySmc3ZTVHL0Jaakt0Qk5tY1U1L0tONGdUaGFqNzRROHBZTTlwdXJsSjhMT3lHQXNGMFVPSjdqRHc9PQo=", + "url": "https://github.com/tari-project/universe/releases/download/v0.8.24/Tari.Universe_0.8.24_x64_en-US.msi.zip" }, "darwin-aarch64": { - "signature": "dW50cnVzdGVkIGNvbW1lbnQ6IHNpZ25hdHVyZSBmcm9tIHRhdXJpIHNlY3JldCBrZXkKUlVRbUtvKzlyYWhiOGFpZkthZS9zWVdhTmJaSGoya3RMenZtMW0zd0dLZmZ4L0ZxMjdGY05IV2lXVUJoQXBBUzNKdkF3T3FjTVdBOTZZbnBqYjZ1M2NwSTdTQ2ZpaFl0elFNPQp0cnVzdGVkIGNvbW1lbnQ6IHRpbWVzdGFtcDoxNzM0MDg5ODk0CWZpbGU6VGFyaSBVbml2ZXJzZS5hcHAudGFyLmd6CnJEYUxpZzBNT2QycjllVEh4bkR1YzZSYnpuQ3NXZWdha1pjbnk1cVVmMnUrdUpCa0dDUUcxSFlWMjllTnNuS0RJcGtQZGE0dVJ3TEhqT2lzU3U0V0RnPT0K", - "url": "https://github.com/tari-project/universe/releases/download/v0.8.22/Tari.Universe_universal.app.tar.gz" + "signature": "dW50cnVzdGVkIGNvbW1lbnQ6IHNpZ25hdHVyZSBmcm9tIHRhdXJpIHNlY3JldCBrZXkKUlVRbUtvKzlyYWhiOGJYNTgvNEZaVzdKMWN5akZYZDBUdXlYeUREbWtzeHdoRFdzQzMyWnpINEs1M3VQMHVVU0F5NUIrMnp5YmwwUUdReEJzLzVIbGdzMlZxaENFNktSQWdFPQp0cnVzdGVkIGNvbW1lbnQ6IHRpbWVzdGFtcDoxNzM0MTA2NDA4CWZpbGU6VGFyaSBVbml2ZXJzZS5hcHAudGFyLmd6CnM2OHdiMlphckxET0NtVDhmVUp5alR3YXpoNW1Xa3BWTERraXBIT1VzdERYbFYvOEE4NjhFOHZrVVFvbUtvZkdTeWpYeUY2bUJQQlZwTm96bEl2RER3PT0K", + "url": "https://github.com/tari-project/universe/releases/download/v0.8.24/Tari.Universe_universal.app.tar.gz" }, "darwin-x86_64": { - "signature": "dW50cnVzdGVkIGNvbW1lbnQ6IHNpZ25hdHVyZSBmcm9tIHRhdXJpIHNlY3JldCBrZXkKUlVRbUtvKzlyYWhiOGFpZkthZS9zWVdhTmJaSGoya3RMenZtMW0zd0dLZmZ4L0ZxMjdGY05IV2lXVUJoQXBBUzNKdkF3T3FjTVdBOTZZbnBqYjZ1M2NwSTdTQ2ZpaFl0elFNPQp0cnVzdGVkIGNvbW1lbnQ6IHRpbWVzdGFtcDoxNzM0MDg5ODk0CWZpbGU6VGFyaSBVbml2ZXJzZS5hcHAudGFyLmd6CnJEYUxpZzBNT2QycjllVEh4bkR1YzZSYnpuQ3NXZWdha1pjbnk1cVVmMnUrdUpCa0dDUUcxSFlWMjllTnNuS0RJcGtQZGE0dVJ3TEhqT2lzU3U0V0RnPT0K", - "url": "https://github.com/tari-project/universe/releases/download/v0.8.22/Tari.Universe_universal.app.tar.gz" - }, - "windows-x86_64": { - "signature": "dW50cnVzdGVkIGNvbW1lbnQ6IHNpZ25hdHVyZSBmcm9tIHRhdXJpIHNlY3JldCBrZXkKUlVRbUtvKzlyYWhiOGY2L1JKUEFwTS84RjlvWUFDM0JqcWtqZDJmTE1jZW5XanpVb2Y0SmRTS09Rb2JpMW1mZWJZYjRobWJNMTZrU01mN3lnYnNuUUJVdnRqWXpzV0xMOXdvPQp0cnVzdGVkIGNvbW1lbnQ6IHRpbWVzdGFtcDoxNzM0MDkwMTQwCWZpbGU6VGFyaSBVbml2ZXJzZV8wLjguMjJfeDY0X2VuLVVTLm1zaS56aXAKVUFmbnd0R2daVG40WlQ3dnUwYnpYRllrTkNMNUhDYUlMTUxLUndVMFh3eFRGb3V6R2ZKMnIzdkFUWmIxWEk3dFZLYVZEYXF6Mzg5K25CU1JFb0hmQ0E9PQo=", - "url": "https://github.com/tari-project/universe/releases/download/v0.8.22/Tari.Universe_0.8.22_x64_en-US.msi.zip" + "signature": "dW50cnVzdGVkIGNvbW1lbnQ6IHNpZ25hdHVyZSBmcm9tIHRhdXJpIHNlY3JldCBrZXkKUlVRbUtvKzlyYWhiOGJYNTgvNEZaVzdKMWN5akZYZDBUdXlYeUREbWtzeHdoRFdzQzMyWnpINEs1M3VQMHVVU0F5NUIrMnp5YmwwUUdReEJzLzVIbGdzMlZxaENFNktSQWdFPQp0cnVzdGVkIGNvbW1lbnQ6IHRpbWVzdGFtcDoxNzM0MTA2NDA4CWZpbGU6VGFyaSBVbml2ZXJzZS5hcHAudGFyLmd6CnM2OHdiMlphckxET0NtVDhmVUp5alR3YXpoNW1Xa3BWTERraXBIT1VzdERYbFYvOEE4NjhFOHZrVVFvbUtvZkdTeWpYeUY2bUJQQlZwTm96bEl2RER3PT0K", + "url": "https://github.com/tari-project/universe/releases/download/v0.8.24/Tari.Universe_universal.app.tar.gz" } } } \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 6b494c1f1..f97a7f17e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "tari-universe", - "version": "0.8.24", + "version": "0.8.25", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "tari-universe", - "version": "0.8.24", + "version": "0.8.25", "dependencies": { "@floating-ui/react": "^0.26.28", "@lottiefiles/dotlottie-react": "^0.10.1", diff --git a/package.json b/package.json index d1d7d0a30..7120038f9 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "tari-universe", "private": true, - "version": "0.8.24", + "version": "0.8.25", "type": "module", "scripts": { "dev": "vite dev --mode development", diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index 3a4645bcf..ee8602d33 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -6744,7 +6744,7 @@ dependencies = [ [[package]] name = "tari-universe" -version = "0.8.24" +version = "0.8.25" dependencies = [ "anyhow", "async-trait", diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index f33408815..6bb6489ac 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -4,7 +4,7 @@ description = "Tari Universe" edition = "2021" name = "tari-universe" repository = "https://github.com/tari-project/universe" -version = "0.8.24" +version = "0.8.25" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/src-tauri/src/node_manager.rs b/src-tauri/src/node_manager.rs index 325b5f4d8..1c4e0ea4e 100644 --- a/src-tauri/src/node_manager.rs +++ b/src-tauri/src/node_manager.rs @@ -22,7 +22,7 @@ use std::path::{Path, PathBuf}; use std::sync::Arc; -use std::time::SystemTime; +use std::time::{Duration, SystemTime}; use chrono::{NaiveDateTime, TimeZone, Utc}; use log::{error, info}; @@ -79,7 +79,9 @@ impl NodeManager { // } let adapter = MinotariNodeAdapter::new(); - let process_watcher = ProcessWatcher::new(adapter); + let mut process_watcher = ProcessWatcher::new(adapter); + process_watcher.health_timeout = Duration::from_secs(10); + process_watcher.expected_startup_time = Duration::from_secs(120); Self { watcher: Arc::new(RwLock::new(process_watcher)), diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 319cf7fc0..6088a4822 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -1,5 +1,5 @@ { - "version": "0.8.24", + "version": "0.8.25", "productName": "Tari Universe (Alpha)", "mainBinaryName": "Tari Universe (Alpha)", "identifier": "com.tari.universe.alpha", diff --git a/src/App/AppWrapper.tsx b/src/App/AppWrapper.tsx index 90ca15271..160de9c7e 100644 --- a/src/App/AppWrapper.tsx +++ b/src/App/AppWrapper.tsx @@ -34,7 +34,7 @@ const sentryOptions = { setupLogger(); export default function AppWrapper() { - const allowTelemetry = useAppConfigStore((s) => s.allow_telemetry); + // const allowTelemetry = useAppConfigStore((s) => s.allow_telemetry); const fetchAppConfig = useAppConfigStore((s) => s.fetchAppConfig); const setMiningNetwork = useMiningStore((s) => s.setMiningNetwork); @@ -54,13 +54,15 @@ export default function AppWrapper() { // eslint-disable-next-line react-hooks/exhaustive-deps }, []); - useEffect(() => { - if (allowTelemetry && environment !== 'development') { - Sentry.init(sentryOptions); - } else { - Sentry.close(); - } - }, [allowTelemetry]); + // We think Sentry/Vite is causing the crashing issues. Disable on the front end for now. + // + // useEffect(() => { + // if (allowTelemetry && environment !== 'development') { + // Sentry.init(sentryOptions); + // } else { + // Sentry.close(); + // } + // }, [allowTelemetry]); return ; }