feat(plugin): restructure layout like LSFG-VK, use mangohudctl for logging

This commit is contained in:
2026-06-28 20:21:33 +08:00
parent c230367d14
commit 6e1957524b
4 changed files with 441 additions and 81 deletions
+11 -1
View File
@@ -33,11 +33,21 @@ export const readAndParseMangohudLog = callable<[logPath?: string], {
error?: string
}>("read_and_parse_mangohud_log")
export const clearMangohudLog = callable<[logPath?: string], {
export const clearMangohudLog = callable<[], {
success: boolean
error?: string
}>("clear_mangohud_log")
export const startMangohudLogging = callable<[], {
success: boolean
error?: string
}>("start_mangohud_logging")
export const stopMangohudLogging = callable<[], {
success: boolean
error?: string
}>("stop_mangohud_logging")
// ── System Info ─────────────────────────────────────────────────
export const getHardwareInfo = callable<[], {
slug: string