[re: PyOXIDE] an altogether different application… that would insulate me from having to know anything about the underlying OS X application framework, so I could just make a Python script clickable… and have it fucking work
For that—and that much only—Platypus kicks ass. It’s perfect! But (yeah, sorry I’m a bitch), that’s not the end of the story.
The specific Python script I’m trying to “dumb down” into a clickable app requires one step that must be performed as root (with “sudo”). [if you must know, it’s that Samba port forwarding mess from before]
In Platypus, even when you select the “Requires Administrator Privileges” checkbox for the app before you create it… sure enough it will prompt the user for his/her password when they launch your new app, but it doesn’t actually go far enough to authenticate against the “sudoers” list.
The user will have to go into Terminal and “sudo” something first, provide the password (and become one of the Holy Grand Sudoers Blessed), and finally run the app that Platypus created. Otherwise, the “sudo” step in the original script will simply hang and wait for interactive authentication.
Platypus comes with a quick blurb about using CocoaDialog for user input, but I haven’t yet gone that far to see if this type of interactive authentication will work for “sudo”. It might, but a gut feeling tells me I’d spend hours chasing down another dead end. So enough for now.