Skip to content

npyl/NSAuthenticatedTask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NSAuthenticatedTask

UNDER DEVELOPMENT (currently supports basic functions)

A framework that adds administrator Authentication support to NSTask so you can execute your task with root privileges! Follows Apple's recommended way of doing it (using SMJobBlessHelper and XPC) so no deprecated APIs here!

Supported Features

  • Standard (NSTask) functionality
  • Launch Authenticated
  • Pass arguments
  • Pass current directory
  • Custom Authentication Icon (still quite buggy, though! #3)
  • Custom Authentication Text
  • Pass environment variables
  • Pipes (nearly done)

Projects Currently Using NSAuthenticatedTask

ManageConky (The de-facto Manager for Conky on macOS)
cocoasudo (a new implementation)

Attributions

Icons

Key by Luis Prado from the Noun Project

LICENSE

Dual-Licensed under 996ICU License and MIT License.

By using this project as a company (or even person), you agree that your company (or yourself) will use the project while abiding to the labor rules of your country's. For more info, and specific law matters carefully read the 996ICU License.

SUPPORTING 💰

paypal

Become a Patron!

About

NSTask but with the ability to run privileged code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published