Fix Windows build: add missing deps, fix hotkeys import, fix RGBA icons
|
|
@ -48,6 +48,8 @@ regex = "1.10"
|
|||
|
||||
# Image processing for OCR
|
||||
image = "0.24"
|
||||
imageproc = "0.23"
|
||||
leptess = "0.14"
|
||||
|
||||
# Clipboard
|
||||
arboard = "3.3"
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 73 B After Width: | Height: | Size: 360 B |
|
Before Width: | Height: | Size: 73 B After Width: | Height: | Size: 857 B |
|
Before Width: | Height: | Size: 73 B After Width: | Height: | Size: 104 B |
|
Before Width: | Height: | Size: 73 B After Width: | Height: | Size: 857 B |
|
|
@ -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 {
|
||||
|
|
|
|||