198 Commits

Author SHA1 Message Date
Tunglies
684128ca68 Update dependencies and refactor encryption logic
Updates multiple dependencies to their latest versions in Cargo.lock and Cargo.toml.
Refactors encryption logic to use updated getrandom API.
Improves tray speed rate display by using ab_glyph for font rendering.
2025-03-06 18:56:31 +08:00
Tunglies
f771f4720f
refacture: Mihomo API integration (#2900)
* feat: add mihomo_api crate as a workspace member

Added a new mihomo_api crate to handle interactions with the Mihomo API. This modular approach provides a dedicated interface for fetching and managing proxy data from Mihomo servers. The implementation includes functionality to refresh and retrieve both proxies and provider proxies with proper error handling and timeouts. Added this crate as a workspace member and included it as a dependency in the main project.

* Refactors Mihomo API integration

Simplifies proxy fetching by removing the MihomoManager structure.

Updates the get_proxies and get_providers_proxies functions to directly use the mihomo_api module.

Removes unused Mihomo API related files and modules for cleaner codebase.

Enhances overall maintainability and performance.
2025-03-05 00:45:08 +08:00
Tunglies
2cd97c7785
feat: add Mihomo API modules and manager (#2869)
• Introduce new API caller implementations for Mihomo in model and module layers.
• Add configuration and API integration files under /src-tauri/src/config/api and /src-tauri/src/model/api.
• Implement a singleton MihomoAPICaller with async API call support and integration tests.
• Create a new MihomoManager module to refresh and fetch proxies from the API.
• Update Cargo.lock and Cargo.toml with additional dependencies (async-trait, env_logger, mockito, tempfile, etc.) related to the Mihomo API support.
2025-03-03 19:31:44 +08:00
Tunglies
79b20694c7
feat: add fast compilation options for development and release (#2831)
- Added fast compilation profiles in Cargo.toml
  - fast-dev profile with max codegen units and disabled optimizations
  - fast-release profile with debugging support and faster build time
- Added new npm scripts for quick development iterations
  - dev:fast command for standard development without extra features
  - build:fast command for quick release builds
- Updated default dev command to use verge-dev feature flag
- Both profiles retain debug symbols and disable stripping for better debugging
2025-03-02 00:40:07 +08:00
wonfen
7743c42dd1 Release - 2.1.2 真·臻 2025-03-01 01:49:01 +08:00
wonfen
2ce43ccd23 Release - 2.1.1 臻fix 2025-02-27 03:18:23 +08:00
wonfen
cee61e5619 chore: downgrade Tauri updater plugin and add i18n for core switching 2025-02-26 15:04:47 +08:00
wonfen
80843c5ee3 Release 2.1.0 - 臻 2025-02-26 08:36:02 +08:00
wonfen
52627575ff feat: Enhance configuration validation and error handling
- Improve config validation process with detailed logging and error tracking
- Add more robust error handling in profile updates and config patches
- Implement comprehensive config validation using clash core subprocess
2025-02-23 10:53:09 +08:00
wonfen
73fbec2514 chore: update deps 2025-02-05 14:19:43 +08:00
wonfen
204bf43b9a fix: windows rounded corners 2025-01-19 09:47:43 +08:00
wonfen
6d527a1cdb release 2.0.3 2025-01-16 03:30:07 +08:00
huzibaca
cd8df52aad
revert: update deps 2025-01-14 12:41:52 +08:00
huzibaca
80a18c9172
chore: update deps 2025-01-12 23:10:15 +08:00
huzibaca
9655f7712b
Merge branch 'languagefixes' into dev
# Conflicts:
#	src-tauri/Cargo.lock
#	src-tauri/Cargo.toml
#	src-tauri/src/core/tray/mod.rs
2025-01-11 15:07:30 +08:00
huzibaca
1b2f1b6106
Merge branch 'feat-macos-spped-rate-icon' into dev 2024-12-31 04:43:54 +08:00
huzibaca
fb41c915cc
feat: macos system tray addition rate display 2024-12-31 04:42:55 +08:00
blagodaren
fc925ea032 fix: add system language sup 2024-12-28 08:12:46 +03:00
huzibaca
3f02859203
chore:add macos entitlements.list 2024-12-27 04:38:34 +08:00
huzibaca
800f994b10
chore: update deps 2024-12-14 16:21:16 +08:00
huzibaca
e6580f2f05
chorea: update deps 2024-12-10 22:36:13 +08:00
huzibaca
460d72f392
chore: update deps(tauri-plugin-autostart) 2024-12-08 22:10:15 +08:00
huzibaca
61533646ad
chore: update deps 2024-12-08 09:58:59 +08:00
huzibaca
38745d4513
chore:set the sysproxy_rs version to a fixed version 2024-12-06 15:03:04 +08:00
huzibaca
c11efcb9be
chore: update version 2024-12-04 00:30:46 +08:00
huzibaca
67b1cf9e1b
feat: user uploaded icons can use templates, provided they are monochrome icons fixer #2213 2024-11-30 09:49:43 +08:00
huzibaca
56deafee61
chore: update version 2024-11-27 05:09:46 +08:00
wonfen
97f8022276 release 2.0.1 2024-11-24 09:00:20 +08:00
huzibaca
91f0f9f65e
feat: encryption configuration properties 2024-11-20 07:27:42 +08:00
huzibaca
708e5d1941
fix: auto launch does not worki 2024-11-20 03:52:19 +08:00
huzibaca
5b0ff01cbf
chore: update deps 2024-11-19 13:35:57 +08:00
huzibaca
867c83b84c
chore: update dep(tauri-bubild) 2024-11-13 21:49:53 +08:00
huzibaca
632d389411
chore: update deps 2024-11-13 21:39:55 +08:00
huzibaca
3759239dac
feat: add webdav backup 2024-11-12 02:55:02 +08:00
huzibaca
d3f6822080
chore: update 2024-11-09 05:50:51 +08:00
huzibaca
c3e24d7b96
chore: update 2024-11-08 21:46:15 +08:00
huzibaca
08bf70681c
feat: use tauri_plugin_window_state 2024-10-30 18:52:53 +08:00
huzibaca
00bc6a6301
revert: feat: use tauri-plugin-persisted-scope 2024-10-30 18:28:55 +08:00
huzibaca
c5916cf5ec
feat: use tauri-plugin-persisted-scope 2024-10-30 16:37:47 +08:00
huzibaca
ef03dc12bb
chore: update 2024-10-21 01:35:28 +08:00
huzibaca
abb0a049a8
chore: update 2024-10-21 01:12:52 +08:00
huzibaca
399bbd56ec
chore: update deps 2024-10-21 00:45:06 +08:00
huzibaca
d0ba506011
chore: update deps 2024-10-04 23:56:50 +08:00
huzibaca
3a3fc986c4
chore: replace sysproxy-rs repo 2024-10-02 17:43:14 +08:00
huzibaca
f57d2df5ec
chore: follow official standards and adjust the main file 2024-09-15 06:24:53 +08:00
huzibaca
b888c7729e
refactor: url scheme implementation 2024-09-13 03:21:55 +08:00
huzibaca
1fc54e49d9
chore: update deps 2024-09-12 06:14:23 +08:00
huzibaca
b9be5e8c44
feat: migrate tauri 2.0 2024-09-11 08:15:03 +08:00
huzibaca
7b11e157c4
chore: update capabilities 2024-09-04 05:57:37 +08:00
wonfen
5783b7b392 chore: 2.0.0 beta release 2024-09-03 00:00:12 +08:00