mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-23 08:54:16 +01:00
The root komorebic package (version 0.1.42) is now the one komorebic: src/main.rs is a cfg_select! over target_os that runs the CLI module of the platform. The Windows main is moved to src/windows.rs (pub fn main); the Linux and macOS CLIs are included from where they live (#[path = "../../komorebi-for-kde/komorebic/src/main.rs"], likewise macOS), so no file moves yet and the old komorebic-linux and komorebic-macos packages still build from the same files. Dependencies are in per-target tables; cargo allows one path per dependency key, so the Linux and macOS crates keep their renamed keys and main.rs aliases them (extern crate komorebi_client_linux as komorebi_client). The unified package needs no reqwest build dependency (committed applications.json) so it builds natively on Linux without openssl. hotkeys.rs: crate::HOME_DIR -> super::HOME_DIR (same crate root in the old package). Gates run: Windows clippy --all-targets -D warnings PASS; KDE check + 294 lib + 5 schemas (old package) PASS; macOS fake-CC check of -p komorebic --target aarch64-apple-darwin --locked --all-targets PASS (type check only); native Linux cargo check/build of -p komorebic PASS and its docgen output is byte-identical to the KDE oracle (166 pages, diff 0); CLI docs oracle byte-identical for windows, macos, kde (S/step4/regen.sh reads komorebic/src/windows.rs now); nix eval of komorebic and the kfde packages OK. Not run: nix builds, e2e (komorebic.exe inputs changed: Windows e2e gate OWED), any macOS link or run (the user must check on a Mac: komorebic --help, --version, start, stop, state, docgen output).