diff --git a/bypass_version.py b/bypass_version.py index 3658361..bde0c73 100644 --- a/bypass_version.py +++ b/bypass_version.py @@ -50,6 +50,8 @@ def get_product_json_path(translator=None): elif system == "Darwin": # macOS product_json_path = "/Applications/Cursor.app/Contents/Resources/app/product.json" + if config.has_section('MacPaths') and config.has_option('MacPaths', 'product_json_path'): + product_json_path = config.get('MacPaths', 'product_json_path') elif system == "Linux": # Try multiple common paths