mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-01-29 00:35:38 +08:00
fix: build front cannot find IvergeConfig.enable_lite_mode and macos port switching causes crash (#2691)
* fix: macos switch protocol port or enable protocol port causes crash * fix: build time front cannot find IVergeConfig attribute enable_lite_mode
This commit is contained in:
@@ -98,6 +98,7 @@ impl CoreManager {
|
||||
|
||||
/// 启动核心
|
||||
pub async fn start_core(&self) -> Result<()> {
|
||||
#[cfg(not(target_os = "macos"))]
|
||||
// 检查端口占用
|
||||
self.health_checker.check_ports().await?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user