aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src-tauri/src
diff options
context:
space:
mode:
Diffstat (limited to 'src-tauri/src')
-rw-r--r--src-tauri/src/core/config.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src-tauri/src/core/config.rs b/src-tauri/src/core/config.rs
index 510b126..43c8145 100644
--- a/src-tauri/src/core/config.rs
+++ b/src-tauri/src/core/config.rs
@@ -18,6 +18,8 @@ pub struct LauncherConfig {
pub enable_visual_effects: bool,
pub active_effect: String,
pub theme: String,
+ pub log_upload_service: String, // "paste.rs" or "pastebin.com"
+ pub pastebin_api_key: Option<String>,
}
impl Default for LauncherConfig {
@@ -34,6 +36,8 @@ impl Default for LauncherConfig {
enable_visual_effects: true,
active_effect: "constellation".to_string(),
theme: "dark".to_string(),
+ log_upload_service: "paste.rs".to_string(),
+ pastebin_api_key: None,
}
}
}