refactor: comments

This commit is contained in:
2025-07-10 21:32:44 +03:00
parent 6dfb599e14
commit 3d32640b83
10 changed files with 23 additions and 19 deletions

View File

@@ -22,6 +22,7 @@ pub struct DirectoryInfo {
impl DirectoryInfo {
// Get the settings directory
// init() is not needed for this function
// [AR] Patch fix. From PR.
pub fn get_initial_settings_dir() -> Option<PathBuf> {
Self::env_path("THESEUS_CONFIG_DIR").or_else(|| {
if std::env::current_dir().ok()?.join("portable.txt").exists() {