It looks like windows.activate-app no longer launching some apps. For certain apps it works, but for some - it doesn't.
It used to work in a way, that if the app is not running, it would try to launch it and then activate its window.
Not anymore. Apps like "iTerm2" and "Brave" (browser) not getting found.
It looks like this is an upstream bug in Hammerspoon. Running (hs.application.find "iTerm2") returns nil for me.
After some experimentation, I have found that app-name argument for those apps has to be different. It should be "brave browser" and "iterm". Not sure what has changed, and why it stopped working.
It looks like
windows.activate-app
no longer launching some apps. For certain apps it works, but for some - it doesn't.It used to work in a way, that if the app is not running, it would try to launch it and then activate its window. Not anymore. Apps like "iTerm2" and "Brave" (browser) not getting found.
It looks like this is an upstream bug in Hammerspoon. Running
(hs.application.find "iTerm2")
returnsnil
for me.