diff --git a/index.html b/index.html
index 6720207..4c62ebc 100644
--- a/index.html
+++ b/index.html
@@ -6,7 +6,7 @@
Kestrove
-
+
diff --git a/src-tauri/capabilities/default.json b/src-tauri/capabilities/default.json
index 4ab388b..a66a395 100644
--- a/src-tauri/capabilities/default.json
+++ b/src-tauri/capabilities/default.json
@@ -1,7 +1,7 @@
{
"$schema": "../gen/schemas/desktop-schema.json",
"identifier": "default",
- "description": "Main window: core IPC only. No fs, shell or http plugins.",
+ "description": "Main window: core IPC only, plus dragging the custom title bar and following the theme setting. No fs, shell or http plugins.",
"windows": ["main"],
- "permissions": ["core:default"]
+ "permissions": ["core:default", "core:window:allow-start-dragging", "core:window:allow-set-theme"]
}
diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs
index 026e94e..f9eec50 100644
--- a/src-tauri/src/main.rs
+++ b/src-tauri/src/main.rs
@@ -93,6 +93,7 @@ struct NewLogin {
struct Totp {
code: String,
seconds_remaining: u64,
+ period: u64,
}
#[derive(Serialize)]
@@ -268,7 +269,7 @@ fn totp(app: State<'_, App>, id: String) -> CmdResult