add auto trust operation
This commit is contained in:
@@ -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})')
|
||||||
|
|||||||
Reference in New Issue
Block a user