fix: switch default profile to terminal and fixed some comments

This commit is contained in:
objz committed 2026-04-18 19:44:59 +02:00
1 parent 971375bf1f
commit 52787b57c7
71 files changed
+671 -188

No files matched your search

+4
View File
@@ -1,3 +1,6 @@
// config loading: reads config.toml from the platform config dir, creates defaults if missing.
// everything lands in the SETTINGS static so the rest of the app can just grab it.
use config::{Config as ConfigLoader, ConfigError, File};
use std::fs;
use std::path::PathBuf;
@@ -15,6 +18,7 @@ pub fn get_config_path() -> PathBuf {
.join("mcl")
}
// seeds the config file from the bundled default on first run
fn ensure_config_exists() -> PathBuf {
let config_path = get_config_path().join("config.toml");
if !config_path.exists() {