auto-dark-emacs icon indicating copy to clipboard operation
auto-dark-emacs copied to clipboard

Better errors when determining detection method

Open sellout opened this issue 7 months ago • 0 comments

Rather than just saying that we couldn’t determine the detection method, this indicates why and makes some suggestions. Probably even longer errors with concrete steps to remedy each case would be helpful.

This includes an alternative approach to the first bullet point in #61 – changing where we suggest that auto-dark-allow-osascript should be enabled (although this does not change the error that suggests it in the wrong place).

All of the logic here should be identical, it just splits it into multiple conditionals to avoid duplication and identify different failure modes.

sellout avatar Jul 14 '24 20:07 sellout