feat: compact logs if they have logspam to prevent app crashing (#6181)

* feat: compact logs if they have logspam to prevent app crashing

* fix: lint
This commit is contained in:
Calum H.
2026-05-23 18:22:15 +00:00
committed by GitHub
parent f9d47e8edc
commit 8b17441f40
4 changed files with 167 additions and 41 deletions
+2 -3
View File
@@ -6,12 +6,11 @@
import { invoke } from '@tauri-apps/api/core'
/*
A log is a struct containing the filename string, stdout, and stderr, as follows:
A log is a struct containing the filename string and optional output, as follows:
pub struct Logs {
pub filename: String,
pub stdout: String,
pub stderr: String,
pub output: Option<String>,
}
*/