configurator: update and modularize

This commit is contained in:
souldbminersmwc
2025-10-01 19:10:21 -04:00
parent 3dfb95f542
commit bfa20ca526
33 changed files with 738 additions and 690 deletions

View File

@@ -2,30 +2,7 @@ import os
import re
import common as c
def ensure_dir_exists(path):
path_str = str(path)
os.makedirs(os.path.dirname(path_str), exist_ok=True)
import os
import re
import common as c
def ensure_dir_exists(path):
os.makedirs(os.path.dirname(path), exist_ok=True)
import os
import re
import common as c
def ensure_dir_exists(path: str):
"""Ensure the parent directory of the INI file exists."""
os.makedirs(os.path.dirname(path), exist_ok=True)
import os
import re
import common as c
def ensure_dir_exists(path):
os.makedirs(os.path.dirname(path), exist_ok=True)
def set_ini_values(ini_path, section, entries):