fix: add macos missing libc deps

This commit is contained in:
wonfen 2025-03-31 03:36:58 +08:00
parent 62141380d8
commit 5b9b5cb6a8
3 changed files with 3 additions and 1 deletions

View File

@ -8,7 +8,7 @@
### 2.2.3-alpha 相对于 2.2.2
#### 修复了:
- 首页“当前代理”因为重复刷新导致的CPU占用过高的问题
- “开自启”和“DNS覆写”开关跳动问题
- “开自启”和“DNS覆写”开关跳动问题
- 自定义托盘图标未能应用更改
- MacOS 自定义托盘图标显示速率时图标和文本间隙过大
- MacOS 托盘速率显示不全

1
src-tauri/Cargo.lock generated
View File

@ -1059,6 +1059,7 @@ dependencies = [
"getrandom 0.3.2",
"image",
"imageproc",
"libc",
"log",
"log4rs",
"mihomo_api",

View File

@ -73,6 +73,7 @@ async-trait = "0.1.88"
mihomo_api = { path = "src_crates/crate_mihomo_api" }
ab_glyph = "0.2.29"
tungstenite = "0.26.2"
libc = "0.2"
[target.'cfg(windows)'.dependencies]
runas = "=1.2.0"