mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-23 08:54:16 +01:00
The two applications.rs differed in how an application icon is found for a command string. The shared file now asks the platform (new hook `BarPlatform::command_icon(&str) -> Option<ImageIcon>`). Windows os.rs gets the former `UserCommand::get_executable` logic verbatim (as the private `executable_of`) and the windows-icons lookup; macOS returns None, exactly what its commented-out version did. `1.0` vs `1.0_f32` unified. The two files are now byte-identical. No schema text changes. Known and preserved: `UserCommand::launch_if_ready` spawns `cmd /C <command>` in both bars, so launching an application from the macOS bar is broken (it was before). Verified: schema harness macOS and Windows byte-identical; Windows clippy -D warnings --locked clean; macOS fake-CC check --locked 0 errors. Not run: the bars.