g3 console init

This commit is contained in:
Dhanji Prasanna
2025-11-07 09:25:17 +11:00
parent aaf918828f
commit cb43fcdecf
24 changed files with 2860 additions and 498 deletions

View File

@@ -57,10 +57,10 @@ impl ConsoleState {
}
fn config_path() -> PathBuf {
// Use explicit ~/.config/g3/console-state.json path as per requirements
// Use explicit ~/.config/g3/console.json path as per requirements
let home = dirs::home_dir().unwrap_or_else(|| PathBuf::from("."));
home.join(".config")
.join("g3")
.join("console-state.json")
.join("console.json")
}
}