feat: implement GUI restart functionality and update related routes

This commit is contained in:
Kevin Yue committed 2026-07-04 18:37:16 +08:00
1 parent 6e01164a56
commit ca221e3488
5 files changed
+62 -10

No files matched your search

+3
View File
@@ -307,6 +307,9 @@ pub struct UpdateGuiRequest {
pub checksum: String,
}
#[derive(Debug, Deserialize, Serialize)]
pub struct RestartGuiRequest;
#[cfg(test)]
mod tests {
use serde_json::json;