Skip to content

Commit

Permalink
fix child process name
Browse files Browse the repository at this point in the history
  • Loading branch information
Automated Release Test committed May 20, 2024
1 parent fd66b77 commit 8c4a584
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src-tauri/src/child_process.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ pub const CONFIG_FILE: &str = "zebrad.toml";
const CREATE_NO_WINDOW: u32 = 0x08000000;

#[cfg(windows)]
pub const ZEBRAD_COMMAND_NAME: &str = "zebrad.exe";
pub const ZEBRAD_COMMAND_NAME: &str = "zebrad-v1.7.0.exe";

#[cfg(windows)]
use std::os::windows::process::CommandExt;

#[cfg(not(windows))]
pub const ZEBRAD_COMMAND_NAME: &str = "zebrad";
pub const ZEBRAD_COMMAND_NAME: &str = "zebrad-v1.7.0";

pub fn zebrad_config_path() -> PathBuf {
let exe_path =
Expand Down

0 comments on commit 8c4a584

Please sign in to comment.