Files
es3n1n-obfuscator/scripts/adjust_compile_commands.py
2025-02-24 13:05:02 +01:00

20 lines
265 B
Python

import json
from sys import argv
if len(argv) <= 1:
exit(1)
with open(argv[1], 'r') as f:
data = json.load(f)
data = [
item
for item in data
if not item['output'].startswith('_deps/')
]
with open(argv[1], 'w') as f:
json.dump(data, f)