feat(desktop): Add Export Logs (#26262)

This commit is contained in:
Luke Parker
2026-05-21 14:55:23 +10:00
committed by GitHub
parent c64ac905e1
commit bea3ca5b05
18 changed files with 508 additions and 21 deletions
+12
View File
@@ -1081,6 +1081,18 @@ export default function Layout(props: ParentProps) {
keybind: "mod+comma",
onSelect: () => openSettings(),
},
...(platform.platform === "desktop" && platform.exportDebugLogs
? [
{
id: "logs.export",
title: "Export logs",
category: language.t("command.category.settings"),
onSelect: () => {
void platform.exportDebugLogs?.()
},
},
]
: []),
{
id: "session.previous",
title: language.t("command.session.previous"),