Commit Graph

3 Commits

Author SHA1 Message Date
9af0a22768 make_game --pick: on macOS, the folder dialog is osascript's choose folder, so it needs no Tkinter
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>
2026-11-26 04:06:53 +01:00
1470c76cb0 --pick opens the desktop's own folder dialog on Linux (#3375)
Squash-merged after diff review of PR #3375
2026-11-23 09:53:16 -06:00
5be5b4fe57 tests: make_game.py --pick with a stand-in tkinter
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>
2026-11-22 12:13:36 +02:00