mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-10-24 20:52:15 +08:00
fix(service): avoid sticky availability probes
This commit is contained in:
@@ -404,14 +404,6 @@ export const continueWithSidecar = async () => {
|
||||
return invoke<void>('continue_with_sidecar')
|
||||
}
|
||||
|
||||
// 系统服务是否可用
|
||||
export const isServiceAvailable = async () => {
|
||||
try {
|
||||
return await invoke<boolean>('is_service_available')
|
||||
} catch {
|
||||
return false
|
||||
}
|
||||
}
|
||||
export const entry_lightweight_mode = async () => {
|
||||
return invoke<void>('entry_lightweight_mode')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user