fix(service): avoid sticky availability probes

This commit is contained in:
wonfen
2026-07-25 15:22:46 +08:00
parent 7796259b03
commit e599a9d02c
10 changed files with 68 additions and 203 deletions
-8
View File
@@ -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')
}