Update description for unsigned_accessibility caveat
This commit is contained in:
		
							parent
							
								
									a7c5e40c12
								
							
						
					
					
						commit
						a4bbdf8500
					
				@ -69,14 +69,20 @@ module Cask
 | 
			
		||||
      end
 | 
			
		||||
 | 
			
		||||
      caveat :unsigned_accessibility do |access = "Accessibility"|
 | 
			
		||||
        # access: the category in System Preferences > Security & Privacy > Privacy the app requires.
 | 
			
		||||
        # access: the category in the privacy settings the app requires.
 | 
			
		||||
 | 
			
		||||
        if MacOS.version < :ventura
 | 
			
		||||
          navigation_path = "System Preferences → Security & Privacy → Privacy"
 | 
			
		||||
        else
 | 
			
		||||
          navigation_path = "System Settings → Privacy & Security"
 | 
			
		||||
        end
 | 
			
		||||
 | 
			
		||||
        <<~EOS
 | 
			
		||||
          #{@cask} is not signed and requires Accessibility access,
 | 
			
		||||
          so you will need to re-grant Accessibility access every time the app is updated.
 | 
			
		||||
 | 
			
		||||
          Enable or re-enable it in:
 | 
			
		||||
            System Preferences → Security & Privacy → Privacy → #{access}
 | 
			
		||||
            #{navigation_path} → #{access}
 | 
			
		||||
          To re-enable, untick and retick #{@cask}.app.
 | 
			
		||||
        EOS
 | 
			
		||||
      end
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user