Commit Graph

60 Commits

Author SHA1 Message Date
Tunglies
210c12a74e feat: implement CoreConfigValidator for configuration validation and enhance logging types (#5112) 2025-10-18 10:57:57 +08:00
Tunglies
d531432f4a fix: improve Service connection method and permissions for Windows and Unix 2025-10-11 23:41:24 +08:00
Tunglies
4f1d61a56e Revert "fix: improve Service connection method and permissions for Windows and Unix"
This reverts commit 601e99f0b5.

Revert "refactor: clash-verge-rev-service-ipc (#4841)"

This reverts commit 5370bd45ed.
2025-10-11 21:21:23 +08:00
Tunglies
5370bd45ed refactor: clash-verge-rev-service-ipc (#4841)
* feat: update service installation scripts and IPC integration

- Updated `Cargo.toml` to use version 2.0.8 of `clash_verge_service_ipc` with "client" feature.
- Renamed service installation and uninstallation scripts in `post-install.sh` and `pre-remove.sh`.
- Removed `service_ipc` module and refactored IPC handling in `service.rs` to use the new `clash_verge_service_ipc` directly.
- Adjusted service version checking and core management to align with the new IPC structure.
- Simplified directory checks in `dirs.rs` and updated logging configurations in `init.rs`.
- Updated Linux configuration file to reflect new script names.
- Enhanced service installer hook to manage state more effectively.

* refactor: simplify ClashConfig instantiation and remove unused service log file function

* feat: update clash_verge_service_ipc to version 2.0.9 and enhance service initialization logging

* chore: update clash_verge_service_ipc to version 2.0.10 and refactor async service manager initialization

* fix: update clash_verge_service_ipc to version 2.0.11 and improve service manager initialization

* fix: increase sleep duration for socket readiness check to improve stability

* fix: update clash_verge_service_ipc to version 2.0.12 and kode-bridge to version 0.3.4; refactor service management and IPC path checks

* fix: update clash_verge_service_ipc to version 2.0.13; refactor service connection and initialization logic
2025-10-11 15:35:26 +08:00
oomeow
7fc238c27b refactor: invock mihomo api by use tauri-plugin-mihomo (#4926)
* feat: add tauri-plugin-mihomo

* refactor: invock mihomo api by use tauri-plugin-mihomo

* chore: todo

* chore: update

* chore: update

* chore: update

* chore: update

* fix: incorrect delay status and update pretty config

* chore: update

* chore: remove cache

* chore: update

* chore: update

* fix: app freezed when change group proxy

* chore: update

* chore: update

* chore: add rustfmt.toml to tauri-plugin-mihomo

* chore: happy clippy

* refactor: connect mihomo websocket

* chore: update

* chore: update

* fix: parse bigint to number

* chore: update

* Revert "fix: parse bigint to number"

This reverts commit 74c006522e23aa52cf8979a8fb47d2b1ae0bb043.

* chore: use number instead of bigint

* chore: cleanup

* fix: rule data not refresh when switch profile

* chore: update

* chore: cleanup

* chore: update

* fix: traffic graph data display

* feat: add ipc connection pool

* chore: update

* chore: clippy

* fix: incorrect delay status

* fix: typo

* fix: empty proxies tray menu

* chore: clippy

* chore: import tauri-plugin-mihomo by using git repo

* chore: cleanup

* fix: mihomo api

* fix: incorrect delay status

* chore: update tauri-plugin-mihomo dep

chore: update
2025-10-08 12:32:40 +08:00
wonfen
5fde5dcc7c feat: implement async proxy lookup and optimize system/auto proxy retrieval logic 2025-06-21 21:56:15 +08:00
wonfen
034885d810 feat: introduce event-driven proxy manager and optimize proxy config updates 2025-06-21 21:56:15 +08:00
wonfen
7370f00857 feat: add authenticated service IPC communication 2025-05-08 00:14:58 +08:00
Tunglies
9d9dd73790 chore: remove fast-dev profile and enhance dev profile settings 2025-04-27 15:13:34 +08:00
wonfen
d6a79316a6 feat: toggle next auto-update time on subscription card click and show update result feedback 2025-04-25 17:17:34 +08:00
Tunglies
48f1da963a refactor: update MihomoManager to handle traffic WebSocket URL and authorization 2025-03-09 14:44:15 +08:00
wonfen
932d36462f Revert "perf: Improve kernel management logic & add more dev mode logs"
This reverts commit ff2cf30238.
2025-02-15 05:51:46 +08:00
wonfen
ff2cf30238 perf: Improve kernel management logic & add more dev mode logs 2025-02-09 14:19:15 +08:00
huzibaca
9ebd96611a refactor: logger fetch logic 2024-11-18 05:58:06 +08:00
huzibaca
c22e4e5e2c chore: update 2024-11-08 21:46:15 +08:00
MystiPanda
a20d4959bf refactor: remove grant logic 2024-06-13 16:07:56 +08:00
MystiPanda
c698b24e01 chore: update & fmt & clippy 2024-06-12 10:00:22 +08:00
HZ is not Chatty
b0f1ce1fa0 feat: Service Mode for Linux (#804) 2024-03-31 16:16:23 +08:00
Kuingsmile
72300fec5e feat: add UWP loopback tools 2023-11-22 00:15:41 -08:00
GyDi
9e2812d55c feat: support to grant permission to clash core 2023-03-16 11:16:54 +08:00
GyDi
bb669acf95 refactor: rm dead code 2022-11-17 22:52:22 +08:00
GyDi
4f3751b7ce refactor: for windows 2022-11-17 20:19:40 +08:00
GyDi
837422fbb8 refactor: wip 2022-11-14 01:26:33 +08:00
GyDi
a45c61f19e chore: format rust code 2022-11-12 11:37:23 +08:00
GyDi
515c07ea2b chore: rm dead code 2022-11-10 22:58:46 +08:00
GyDi
0aaf4bfde8 feat: support to change external controller 2022-11-06 23:23:26 +08:00
GyDi
1eecf26429 fix: init config error 2022-10-28 01:02:47 +08:00
GyDi
2f9a3fa942 feat: system tray support zh language 2022-10-28 00:40:29 +08:00
GyDi
a75706f329 feat: optimize config feedback 2022-09-26 20:46:29 +08:00
GyDi
29397ca04f fix: refresh clash ui await patch 2022-09-24 14:01:28 +08:00
GyDi
186a922d06 refactor(hotkey): use tauri global shortcut 2022-09-23 15:31:01 +08:00
GyDi
9686a7f9bf feat: refresh ui when hotkey clicked 2022-09-18 15:50:03 +08:00
GyDi
09a1915ec6 feat: support hotkey (wip) 2022-09-14 01:19:02 +08:00
GyDi
09807cfcad fix: handle is none 2022-09-12 00:45:19 +08:00
GyDi
2d00ddad2b refactor: optimize 2022-09-11 20:58:55 +08:00
GyDi
5f3a71ed5f feat: log info 2022-09-05 20:30:39 +08:00
GyDi
000d6ebcd0 feat: kill clash by pid 2022-09-05 16:30:29 +08:00
FoundTheWOUT
20665a49ed fix: timer restore at app launch 2022-08-23 10:35:36 +08:00
GyDi
12afa005d9 feat: adjust clash info parsing logs 2022-08-15 20:21:43 +08:00
GyDi
142a62e371 feat: refactor 2022-08-12 03:20:55 +08:00
GyDi
ff6abf08b7 feat: adjust tun mode config 2022-08-11 03:26:08 +08:00
GyDi
2fd921cd60 feat: reimplement enhanced mode 2022-08-11 02:55:10 +08:00
FoundTheWOUT
19d3921637 fix: silent start (#150) 2022-08-09 14:14:06 +08:00
GyDi
1e7a86b7c0 feat: runtime config viewer 2022-07-25 01:20:13 +08:00
GyDi
5be6f550be feat: improve log rule 2022-07-17 17:39:44 +08:00
GyDi
f9aeec8eb5 refactor: mode manage on tray 2022-07-13 02:26:54 +08:00
limsanity
a93a428a89 style: resolve formatting problem 2022-07-13 00:54:47 +08:00
limsanity
d126a361e1 feat(system tray): support switch rule/global/direct/script mode in system tray 2022-07-13 00:43:27 +08:00
GyDi
9f2e25309e chore: adjust code 2022-05-30 00:57:31 +08:00
ctaoist
2c97eb4115 feat: light mode wip (#96)
* 关闭窗口释放UI资源

* windows 还有左键点击事件

* 兼容enhance profile

* bug 修复
2022-05-25 16:06:39 +08:00