DeepSeek Harness Tauri 桌面版 | Only 8mb installer, zero environment setup, preset plugins, Windows / macOS / Linux.
import { postHostRestart } from '../apis'
import { isDesktopHost } from './restart.utils'
export async function restartHost(): Promise<{ ok: boolean, error?: string }> {
if (isDesktopHost()) {
window.dshDesktop?.restartSidecar?.()
return { ok: true }
}
try {
await postHostRestart()
}
catch {
}
return { ok: true }
}