add auto trust operation

This commit is contained in:
2026-07-15 22:04:08 +09:00
parent f9b31593c2
commit fc398f7a2a
+1
View File
@@ -107,6 +107,7 @@ def handle_untrusted_taps():
for tap in sorted(taps): for tap in sorted(taps):
try: try:
subprocess.run(['brew', 'tap', tap], check=True) subprocess.run(['brew', 'tap', tap], check=True)
subprocess.run(['brew', 'trust', tap], check=True)
print(f'✅ Successfully installed tap "{tap}"') print(f'✅ Successfully installed tap "{tap}"')
except subprocess.CalledProcessError as e: except subprocess.CalledProcessError as e:
print(f'❌ Failed to install tap "{tap}" ({e.returncode})') print(f'❌ Failed to install tap "{tap}" ({e.returncode})')