feat(sysinfo): Add diagnostic information enhancements (#2880)

Enhanced the PlatformSpecification struct with additional diagnostic information including:
- Added Verge version information to diagnostic output
- Added running mode information (Service/Sidecar/Not Running)
- Improved Debug implementation to display all diagnostic fields
- Implemented asynchronous detection of core running mode

This change helps users provide more complete system information when reporting issues.
This commit is contained in:
Tunglies
2025-03-04 11:52:22 +08:00
committed by GitHub
parent 44ca513241
commit 1ee8786ab7
4 changed files with 43 additions and 24 deletions

View File

@@ -1,5 +1,6 @@
use super::CmdResult;
use crate::{core::handle, model::sysinfo::PlatformSpecification};
use crate::core::handle;
use crate::module::sysinfo::PlatformSpecification;
use tauri_plugin_clipboard_manager::ClipboardExt;
use crate::{core::{self, CoreManager, service}, wrap_err};