Skip to content

Commit

Permalink
merge main
Browse files Browse the repository at this point in the history
  • Loading branch information
shanimal08 committed Oct 24, 2024
2 parents 610bcce + eebcbc3 commit f16cda7
Show file tree
Hide file tree
Showing 25 changed files with 28 additions and 44 deletions.
25 changes: 3 additions & 22 deletions src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 16 additions & 16 deletions src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,16 @@ version = "0.5.45"
# 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"
device_query = "2.1.0"
dirs-next = "2.0.0"
dunce = "1.0.5"
flate2 = "1.0.30"
futures-lite = "2.3.0"
Expand All @@ -29,26 +28,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"
Expand All @@ -58,7 +57,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.20.3"
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"}
Expand All @@ -77,14 +76,15 @@ tauri = {version = "1.8.0", features = [
"macos-private-api",
"isolation",
"shell-open",
"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"] }
tor-hash-passwd = "1.0.1"
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]
Expand All @@ -93,7 +93,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"
Expand Down
Binary file added src-tauri/icons/128x128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src-tauri/icons/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src-tauri/icons/32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src-tauri/icons/Square107x107Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src-tauri/icons/Square142x142Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src-tauri/icons/Square150x150Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src-tauri/icons/Square284x284Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src-tauri/icons/Square30x30Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src-tauri/icons/Square310x310Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src-tauri/icons/Square44x44Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src-tauri/icons/Square71x71Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src-tauri/icons/Square89x89Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src-tauri/icons/StoreLogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src-tauri/icons/icon.icns
Binary file not shown.
Binary file modified src-tauri/icons/icon.ico
Binary file not shown.
Binary file modified src-tauri/icons/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src-tauri/icons/systray_icon.icns
Binary file not shown.
Binary file added src-tauri/icons/systray_icon.ico
Binary file not shown.
Binary file added src-tauri/icons/systray_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed src-tauri/icons/tari.png
Binary file not shown.
2 changes: 0 additions & 2 deletions src-tauri/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ use external_dependencies::{ExternalDependencies, ExternalDependency, RequiredEx
use log::trace;
use log::{debug, error, info, warn};
use regex::Regex;
use sentry::protocol::Event;
use sentry_tauri::sentry;
use serde::Serialize;
use std::fs::{read_dir, remove_dir_all, remove_file};
use std::sync::atomic::{AtomicBool, Ordering};
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/src/systemtray_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ impl SystemtrayManager {

match current_os {
CurrentOperatingSystem::Windows => {
return systray.with_tooltip(tooltip.clone().as_str())
return systray.with_tooltip(tooltip.clone().as_str());
}
CurrentOperatingSystem::Linux => systray.with_menu(tray_menu),
CurrentOperatingSystem::MacOS => {
Expand Down
11 changes: 8 additions & 3 deletions src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"tauri": {
"systemTray": {
"iconPath": "icons/icon.ico",
"iconPath": "icons/systray_icon.ico",
"menuOnLeftClick": true
},
"updater": {
Expand Down Expand Up @@ -70,11 +70,16 @@
"targets": "all",
"identifier": "com.tari.universe.alpha",
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/[email protected]",
"icons/icon.icns",
"icons/icon.ico",
"icons/icon.png",
"icons/StoreLogo.png",
"icons/tari.png"
"icons/systray_icon.icns",
"icons/systray_icon.ico",
"icons/systray_icon.png"
],
"copyright": "Copyright (c) 2024 Tari Labs, LLC",
"shortDescription": "Tari Universe is a mining app for Tari.",
Expand All @@ -86,4 +91,4 @@
},
"macOSPrivateApi": true
}
}
}

0 comments on commit f16cda7

Please sign in to comment.