Skip to content

harichen/enable-permission

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Enable Permission

Enable Permission is a small macOS utility for guiding users through app privacy permissions. It helps you choose an installed app, then opens the matching System Settings privacy page and shows a drag helper for adding that app to the permission list.

The core function source code comes from: https://github.com/zats/permiso.The Permission dialog for accessibility settings as seen in Codex Computer Use https://x.com/lexrus/status/2044929029334245819.

Features

  • Choose any installed macOS app from /Applications.
  • Show the selected app icon and name before granting permissions.
  • Open the Accessibility permission page.
  • Open the Screen Recording permission page, labeled as Screenshots in the app.
  • Use a floating drag helper so the selected app can be dragged into the System Settings permission list.
  • Native SwiftUI interface with a packaged macOS .app.

Install

Download EnablePermission-v0.1.dmg from the GitHub Releases page, open it, then drag Enable Permission.app into Applications.

macOS may warn that the app is from an unidentified developer because the v0.1 build is ad-hoc signed. If needed, open it from Finder with Control-click, then choose Open.

Usage

  1. Open Enable Permission.app.
  2. Click Choose App.
  3. Select the app you want to authorize.
  4. Click Allow next to Accessibility or Screenshots.
  5. When System Settings opens, drag the selected app from the helper into the permission list.

macOS does not allow third-party apps to silently grant Accessibility or Screen Recording permissions. Enable Permission intentionally keeps the final authorization step in System Settings.

Build From Source

Requirements:

  • macOS 15 or newer
  • Swift 6.2 or newer
  • Xcode Command Line Tools

Build the release binary:

swift build -c release --product EnablePermission

Run tests:

swift test \
  -Xswiftc -F/Library/Developer/CommandLineTools/Library/Developer/Frameworks \
  -Xlinker -rpath \
  -Xlinker /Library/Developer/CommandLineTools/Library/Developer/Frameworks

The reusable permission guide lives in Sources/Permiso. The packaged app lives in Sample/EnablePermission.

License

No license has been added yet.

About

Enable Permission is a simple macOS app for enabling Accessibility and Screen Recording permissions for a chosen app.The core function source code comes from: https://github.com/zats/permiso

Resources

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors