mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
chore(ci): lint desktop Tauri crate in CI (#1801)
Signed-off-by: Will Pfleger <pfleger.will@gmail.com> Co-authored-by: npub1mn7jgtj4w2pd0g0zeuhxsa6jy6p0rewxz4kujt98my82ahfmp72sxjexk7 <dcfd242e557282d7a1e2cf2e6877522682f1e5c6156dc92ca7d90eaedd3b0f95@sprout-oss.stage.blox.sqprod.co>
This commit is contained in:
co-authored by
npub1mn7jgtj4w2pd0g0zeuhxsa6jy6p0rewxz4kujt98my82ahfmp72sxjexk7
parent
e09e94ab88
commit
bea507d8aa
@@ -156,6 +156,10 @@ jobs:
|
||||
run: just desktop-test
|
||||
- name: Desktop build
|
||||
run: just desktop-build
|
||||
- name: Desktop Tauri clippy
|
||||
run: just desktop-tauri-clippy
|
||||
env:
|
||||
CMAKE_POLICY_VERSION_MINIMUM: "3.5"
|
||||
- name: Desktop Tauri check
|
||||
run: just desktop-tauri-check
|
||||
env:
|
||||
|
||||
@@ -322,7 +322,7 @@ async fn restart_setup_mode_agents_after_install(
|
||||
&global,
|
||||
);
|
||||
let now_ready = matches!(agent_readiness(&effective), AgentReadiness::Ready);
|
||||
let pid_alive = pid.is_some_and(|p| crate::managed_agents::process_is_running(p));
|
||||
let pid_alive = pid.is_some_and(crate::managed_agents::process_is_running);
|
||||
should_restart_after_install(
|
||||
is_local,
|
||||
pid_alive,
|
||||
|
||||
@@ -48,9 +48,12 @@ use std::sync::{
|
||||
atomic::{AtomicBool, Ordering},
|
||||
Arc,
|
||||
};
|
||||
use tauri::{Emitter, Listener, Manager, RunEvent};
|
||||
#[cfg(target_os = "macos")]
|
||||
use tauri::Listener;
|
||||
use tauri::{Emitter, Manager, RunEvent};
|
||||
use tauri_plugin_window_state::StateFlags;
|
||||
|
||||
#[cfg(target_os = "macos")]
|
||||
const INITIAL_RENDER_READY_EVENT: &str = "initial-render-ready";
|
||||
|
||||
#[tauri::command]
|
||||
|
||||
Reference in New Issue
Block a user