Skip to content

Commit

Permalink
Fix broken version check
Browse files Browse the repository at this point in the history
  • Loading branch information
roblabla committed Feb 17, 2024
1 parent 57bf5db commit b45003f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tccutil.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def insert_client(client):
client_type = cli_util_or_bundle_id(client)
verbose_output(f'Inserting "{client}" into Database...')
# Sonoma
if osx_version >= version('10.16'):
if osx_version >= version('14.0'):
try:
c.execute(f"INSERT or REPLACE INTO access VALUES('{service}','{client}',{client_type},2,4,1,NULL,NULL,0,'UNUSED',NULL,0, NULL, NULL, NULL,'UNUSED', NULL)")
except sqlite3.OperationalError:
Expand Down

0 comments on commit b45003f

Please sign in to comment.