chore: generate

This commit is contained in:
opencode-agent[bot] 2026-06-07 05:22:22 +00:00
commit 7a2c49e762
4 changed files with 8 additions and 18 deletions

View file

@ -3,12 +3,7 @@ export { ACCEPTED_FILE_EXTENSIONS, ACCEPTED_FILE_TYPES, filePickerFilters } from
export { useCommand } from "./context/command"
export { loadLocaleDict, normalizeLocale, type Locale } from "./context/language"
export { useWslServers } from "./wsl/context"
export {
type DisplayBackend,
type FatalRendererErrorLog,
type Platform,
PlatformProvider,
} from "./context/platform"
export { type DisplayBackend, type FatalRendererErrorLog, type Platform, PlatformProvider } from "./context/platform"
export { type UpdaterPlatform, type UpdaterState } from "./updater"
export {
type WslDistroProbe,

View file

@ -250,8 +250,8 @@ export const ErrorPage: Component<ErrorPageProps> = (props) => {
}
async function installUpdate() {
await platform
.updater?.install()
await platform.updater
?.install()
.then(() => setStore("actionError", undefined))
.catch((err) => {
setStore("actionError", formatError(err, language.t))