mirror of
https://github.com/bunny-lab-io/Borealis.git
synced 2025-12-15 18:55:48 -07:00
ENGINE: Migrated Logs to Runtime Folders
This commit is contained in:
@@ -219,7 +219,7 @@ def _run_powershell_via_system_task(content: str, env_map: Dict[str, str], timeo
|
||||
with os.fdopen(script_fd, 'w', encoding='utf-8', newline='\n') as f:
|
||||
f.write(final_content)
|
||||
try:
|
||||
log_dir = os.path.join(_project_root(), 'Logs', 'Agent')
|
||||
log_dir = os.path.join(_project_root(), 'Agent', 'Logs')
|
||||
os.makedirs(log_dir, exist_ok=True)
|
||||
with open(os.path.join(log_dir, 'system_last.ps1'), 'w', encoding='utf-8', newline='\n') as df:
|
||||
df.write(content or '')
|
||||
|
||||
Reference in New Issue
Block a user