refactor(tui): rename instances to profiles

This commit is contained in:
72-S committed 2025-03-11 19:10:18 +01:00
1 parent ad3243cffe
commit 8685fa9800
7 files changed
+93 -128

No files matched your search

+3 -3
View File
@@ -9,13 +9,13 @@ use crate::debug;
pub mod types;
fn get_config_path() -> PathBuf {
pub fn get_config_path() -> PathBuf {
let base_dir = config_dir().unwrap();
base_dir.join("mcl/config.toml")
base_dir.join("mcl/")
}
fn ensure_config_exists(default_path: &str) -> PathBuf {
let config_path = get_config_path();
let config_path = get_config_path().join("config.toml");
if !config_path.exists() {
if let Some(parent_dir) = config_path.parent() {