Fix Windows build: add missing deps, fix hotkeys import, fix RGBA icons

This commit is contained in:
Aether 2026-02-23 19:36:57 +00:00
parent 77c9811641
commit 90349bfa20
No known key found for this signature in database
GPG Key ID: 95AFEE837E39AFD2
6 changed files with 3 additions and 1 deletions

View File

@ -48,6 +48,8 @@ regex = "1.10"
# Image processing for OCR
image = "0.24"
imageproc = "0.23"
leptess = "0.14"
# Clipboard
arboard = "3.3"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 73 B

After

Width:  |  Height:  |  Size: 360 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 73 B

After

Width:  |  Height:  |  Size: 857 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 73 B

After

Width:  |  Height:  |  Size: 104 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 73 B

After

Width:  |  Height:  |  Size: 857 B

View File

@ -149,7 +149,7 @@ fn parse_shortcut(shortcut: &str) -> Result<global_hotkey::hotkey::HotKey, Strin
Ok(HotKey::new(Some(modifiers), code))
}
fn parse_key(key: &str) -> Result<Code, String> {
fn parse_key(key: &str) -> Result<global_hotkey::hotkey::Code, String> {
use global_hotkey::hotkey::Code;
let code = match key {