fix(plugin): update verify config check, add debug list tmp

This commit is contained in:
2026-06-28 20:51:47 +08:00
parent 2b53b30be6
commit 7a653198e7
3 changed files with 34 additions and 10 deletions
@@ -165,9 +165,9 @@ export default function MainPanel({
}
const content = result.content
const hasOutputFolder = content.includes("output_folder=/tmp")
const hasOutputFile = content.includes("output_file=deckyvault-mangohud.log")
const hasFps = content.includes("fps")
if (hasOutputFolder && hasOutputFile && hasFps) {
const hasFrameTiming = content.includes("frame_timing")
if (hasOutputFolder && hasFps) {
setConfigVerified({ checked: true, valid: true, message: "Config looks good" })
} else {
setConfigVerified({ checked: true, valid: false, message: "Config is missing required settings. Write it again." })