feat(cli): autostart without a console window

This moves `komorebic` logic into a `lib.rs` file and calls it from `main.rs` (normal behavior) and then there is a second binary `komorebic-no-console` binary that uses `#![windows_subsystem = "windows"]` which tells the linker to not attach a console window to this binary.
This commit is contained in:
amrbashir
2023-11-25 23:57:04 +02:00
parent a68f3843b7
commit 08494b46dd
5 changed files with 2362 additions and 2338 deletions
@@ -0,0 +1,5 @@
#![windows_subsystem = "windows"]
fn main() -> color_eyre::Result<()> {
komorebic::main()
}
+2343
View File
File diff suppressed because it is too large Load Diff
+2 -2338
View File
File diff suppressed because it is too large Load Diff