refactor(desktop): consolidate desktop-electron into desktop package (#25822)

This commit is contained in:
Brendan Allan 2026-05-05 13:43:36 +08:00 committed by GitHub
commit b4147c8d08
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
441 changed files with 113 additions and 13439 deletions

View file

@ -1,12 +0,0 @@
import { initI18n, t } from "./i18n"
export async function installCli(): Promise<void> {
await initI18n()
try {
const path = await window.api.installCli()
window.alert(t("desktop.cli.installed.message", { path }))
} catch (e) {
window.alert(t("desktop.cli.failed.message", { error: String(e) }))
}
}