Skip to content

Commit

Permalink
binary install as ref
Browse files Browse the repository at this point in the history
  • Loading branch information
mrmizz committed Feb 28, 2025
1 parent 67d9285 commit 7527494
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ bincode = "1.3.3"
bs58 = "0.4"
bytemuck = "1.14.3"
cached = { version = "0.47.0", features = ["async"] }
cargo-packager-updater = { version = "0.2.2", default-features = false, features = [
cargo-packager-updater = { git = "https://github.com/regolith-labs/cargo-packager.git", subdirectory = "crates/updater", rev = "6cedc87", default-features = false, features = [
"native-tls",
] }
chrono = { version = "0.4", features = ["wasmbind"] }
Expand Down
2 changes: 1 addition & 1 deletion src/components/updater/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ pub fn Updater() -> Element {
let update = update.clone();
let binary = Arc::clone(&binary);
spawn(async move {
if let Err(err) = update.install(binary) {
if let Err(err) = update.install(binary.as_ref()) {
log::error!("{:?}", err);
}
});
Expand Down

0 comments on commit 7527494

Please sign in to comment.