refactor: make the crate Windows-only and extract config
- delete the macOS/Linux/Finder-extension code, the non-Windows branches and the objc2 dependencies; three platform-only tests went with them (62 -> 59). - src/config.rs: config dir, zoom, window geometry and the blocking dialogs. - move the test module to the end of main.rs (clippy items_after_test_module). - main.rs 3709 -> 2822 lines. No behavior change on Windows.
This commit is contained in:
3
Cargo.lock
generated
3
Cargo.lock
generated
@@ -1676,9 +1676,6 @@ version = "1.4.2"
|
||||
dependencies = [
|
||||
"image",
|
||||
"notify",
|
||||
"objc2",
|
||||
"objc2-app-kit",
|
||||
"objc2-foundation",
|
||||
"open",
|
||||
"pulldown-cmark",
|
||||
"rfd",
|
||||
|
||||
Reference in New Issue
Block a user