fix: improve OpenCode update and desktop menu behavior
Restart OpenCode after successful updates so the new version is active Open native About menu into the app About dialog Update desktop View menu actions for the new layout
This commit is contained in:
@@ -2174,16 +2174,16 @@ export const dict: Record<I18nKey, string> = {
|
||||
'updateDialog.status.updating': '更新中...',
|
||||
'updateDialog.error.updateFailed': '更新失败',
|
||||
'updateDialog.error.takingLonger': '更新耗时超出预期。请稍等后刷新,或运行:openchamber update',
|
||||
'opencodeUpdate.toast.available.title': 'OpenCode 有可用更新',
|
||||
'opencodeUpdate.toast.available.description': '版本 {version} 已可安装。',
|
||||
'opencodeUpdate.toast.available.title': 'OpenCode 更新',
|
||||
'opencodeUpdate.toast.available.description': '版本 {version} 可用。',
|
||||
'opencodeUpdate.toast.actions.update': '更新',
|
||||
'opencodeUpdate.toast.actions.dismiss': '忽略',
|
||||
'opencodeUpdate.toast.actions.reload': '重载 OpenCode',
|
||||
'opencodeUpdate.toast.upgrading.title': '正在更新 OpenCode...',
|
||||
'opencodeUpdate.toast.upgrading.description': '请保持 OpenChamber 打开。',
|
||||
'opencodeUpdate.toast.updated.title': 'OpenCode 已更新',
|
||||
'opencodeUpdate.toast.updated.description': '重载 OpenCode 以开始使用更新后的版本。',
|
||||
'opencodeUpdate.toast.updated.descriptionWithVersion': '版本 {version} 已安装。重载 OpenCode 后即可使用。',
|
||||
'opencodeUpdate.toast.updated.description': '更新已安装。',
|
||||
'opencodeUpdate.toast.updated.descriptionWithVersion': '版本 {version} 已安装。',
|
||||
'opencodeUpdate.toast.failed.title': '无法更新 OpenCode',
|
||||
'opencodeUpdate.toast.failed.description': 'OpenCode 升级失败。',
|
||||
'opencodeUpdate.toast.reload.message': '正在重启 OpenCode...',
|
||||
|
||||
Reference in New Issue
Block a user