The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.
TypeScript agentai-chatai-studioall-in-onecoding-agentdesktop-appfluximage-generationlinuxllmlocal-ailocal-llmopen-sourceprivacyself-hostedstable-diffusionuncensoreduncensored-aivideo-generationwindows
fix(windows): quit_signal's unix-only items do not warn on Windows
purplecfe88911f1c8
diff --git a/src-tauri/src/quit_signal.rs b/src-tauri/src/quit_signal.rsindex ea4108fa..d4b1c7bb 100644--- a/src-tauri/src/quit_signal.rs+++ b/src-tauri/src/quit_signal.rs@@ -27,14 +27,17 @@//! SIGKILL cannot be caught by anyone; for that the reap at the next start//! stays.+#[cfg(unix)]use std::time::Duration;/// How long the cleanup may take before the process leaves anyway. Under/// systemd's default stop timeout (90 s), and long enough for the slowest/// branch of `shutdown_subprocesses` (the trainer's process-table walk).+#[cfg(unix)]pub const GNADENFRIST: Duration = Duration::from_secs(10);/// The exit code of a process that ended because of `signal`.+#[cfg(unix)]pub fn exit_code(signal: i32) -> i32 {128 + signal}