refactor: update comments to reflect modifications by AstralRinth

This commit is contained in:
2026-01-27 20:50:55 +03:00
parent 572800d9ca
commit e9bc01b0c7
21 changed files with 53 additions and 51 deletions

View File

@@ -22,7 +22,7 @@ pub struct DirectoryInfo {
impl DirectoryInfo {
// Get the settings directory
// init() is not needed for this function
// [AR] Patch fix. From PR.
// This code is modified by AstralRinth
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() {