|
@@ -223,7 +223,7 @@ async fn check_server_health(url: &str, password: Option<&str>) -> bool {
|
|
|
pub fn run() {
|
|
pub fn run() {
|
|
|
let updater_enabled = option_env!("TAURI_SIGNING_PRIVATE_KEY").is_some();
|
|
let updater_enabled = option_env!("TAURI_SIGNING_PRIVATE_KEY").is_some();
|
|
|
|
|
|
|
|
- #[cfg(target_os = "macos")]
|
|
|
|
|
|
|
+ #[cfg(all(target_os = "macos", not(debug_assertions)))]
|
|
|
let _ = std::process::Command::new("killall")
|
|
let _ = std::process::Command::new("killall")
|
|
|
.arg("opencode-cli")
|
|
.arg("opencode-cli")
|
|
|
.output();
|
|
.output();
|