new Parameter --debuglib for only meshtastic debug, more termios fixes for windows tests

(cherry picked from commit 4fc4d41d3d29998bb7b697bf412be5c1449ea950)
This commit is contained in:
shukari
2025-08-19 11:06:03 +02:00
parent cbf7b9befe
commit 52eb112b95
5 changed files with 51 additions and 58 deletions

View File

@@ -257,8 +257,9 @@ class LogSet:
if not dir_name:
app_dir = root_dir()
dir_name = Path(app_dir, datetime.now().strftime('%Y%m%d-%H%M%S'))
dir_name.mkdir(exist_ok=True)
app_time_dir = Path(app_dir, datetime.now().strftime('%Y%m%d-%H%M%S'))
app_time_dir.mkdir(exist_ok=True)
dir_name = str(app_time_dir)
# Also make a 'latest' directory that always points to the most recent logs
latest_dir = Path(app_dir, "latest")