Compare commits

..

2 Commits

Author SHA1 Message Date
2d16d5d2d2 Merge remote-tracking branch 'origin/master' 2025-11-13 10:45:04 +08:00
9f3b910657 fix: core config apply not working 2025-11-13 10:42:31 +08:00

View File

@ -217,7 +217,7 @@ class CoreConfigManager:
# On Windows, try to execute directly (batch files, etc.)
cmd = [str(hook_path), str(config_file_path)]
print(f"🔧 Executing hook: {hook_path.name}")
print(f"🔧 Executing hook: {hook_path}")
env = os.environ.copy()
env['PYTHONIOENCODING'] = 'utf-8'
result = subprocess.run(
@ -227,8 +227,9 @@ class CoreConfigManager:
text=True,
timeout=30,
encoding="utf-8",
shell=True,
# shell=True,
env=env,
# stdout=subprocess.PIPE, stderr=subprocess.STDOUT
)
if result.returncode == 0: