Homebrew's Python ships without Tkinter, so --pick on a Mac stopped with "The folder dialog couldn't open (No module
named '_tkinter')". osascript is on every Mac; it is the native tool there, as kdialog and zenity are on Linux, with
Tk still the fallback. Prompt and folder go in as arguments, so nothing is quoted into the script.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A supported folder is returned, an unsupported one is asked again with a
warning, a cancel or a missing display stops with a pointer to --game (the
hidden window is destroyed either way), --pick and --game are exclusive, and
--pick replaces the automatic search. No display needed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>