Skip to content

Commit

Permalink
0.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-frmr committed Sep 24, 2024
1 parent 424f6df commit 81312b4
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion 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
@@ -1,6 +1,6 @@
[package]
name = "kinode-desktop"
version = "0.1.1"
version = "0.1.2"
description = "Kinode Desktop App"
authors = ["dr-frmr"]
license = "Apache-2.0"
Expand Down
4 changes: 2 additions & 2 deletions build.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use std::os::unix::fs::PermissionsExt;

/// note: update this as new versions are released
const KINODE_URL: &str = "https://github.com/kinode-dao/kinode/releases/download/v0.9.3/";
const KINODE_URL: &str = "https://github.com/kinode-dao/kinode/releases/download/v0.9.4/";
const APPLE_SILICON_BINARY: &str = "kinode-arm64-apple-darwin.zip";
const APPLE_INTEL_BINARY: &str = "kinode-x86_64-apple-darwin.zip";
const LINUX_BINARY: &str = "kinode-x86_64-unknown-linux-gnu.zip";
Expand Down Expand Up @@ -41,7 +41,7 @@ fn download_and_unzip_binary(url: &str, triple: &str) {
let mut binary = archive.by_name("kinode").expect("Failed to find binary");

// save binary to bin folder with its triple appended
let binary_path = format!("bin/kinode-0.9.3-{}", triple);
let binary_path = format!("bin/kinode-0.9.4-{}", triple);
std::io::copy(
&mut binary,
&mut std::fs::File::create(&binary_path).expect("Failed to create binary file"),
Expand Down
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ fn main() {
let node_port = state_clone.node_port.lock().unwrap().to_string();
let node_rpc = state_clone.node_rpc.lock().unwrap().to_string();

let mut args = vec![&node_home, "--detached"];
let mut args = vec![&node_home, "--detached", "--verbosity", "2"];

if node_port.parse::<u16>().is_ok() {
args.push("--port");
Expand All @@ -105,7 +105,7 @@ fn main() {

println!("Starting kinode with args: {:?} in dir {:?}", args, dir);

let (mut rx, _child) = Command::new_sidecar("kinode-0.9.3")
let (mut rx, _child) = Command::new_sidecar("kinode-0.9.4")
.expect("failed to setup kinode sidecar")
.args(args)
.current_dir(dir)
Expand Down
2 changes: 2 additions & 0 deletions tauri-wrapper/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,8 @@
padding: 10px;
border-radius: 10px;
float: right;
background-color: var(--orange);
color: var(--white);
}

li {
Expand Down
6 changes: 3 additions & 3 deletions tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"sidecar": true,
"scope": [
{
"name": "bin/kinode-0.9.3",
"name": "bin/kinode-0.9.4",
"sidecar": true,
"args": true
}
Expand All @@ -43,7 +43,7 @@
"depends": []
},
"externalBin": [
"bin/kinode-0.9.3"
"bin/kinode-0.9.4"
],
"icon": [
"icons/icon.ico",
Expand Down Expand Up @@ -83,7 +83,7 @@
"fullscreen": false,
"height": 900,
"resizable": true,
"title": "kinode 0.9.3",
"title": "kinode 0.9.4",
"width": 1200
}
]
Expand Down

0 comments on commit 81312b4

Please sign in to comment.