zegervdv / homebrew-zathura

Homebrew formulae to build Zathura on Mac OS X
552 stars 43 forks source link

Doesn't register correctly as macOS app #123

Open noamzaks opened 7 months ago

noamzaks commented 7 months ago

Hey, I don't know if this is part of homebrew-zathura or zathura itself, but it doesn't register properly as a macOS app.

Precisely, the following doesn't work: open test.pdf -a /opt/homebrew/bin/zathura

The application /opt/homebrew/bin/zathura cannot be opened for an unexpected reason, error=Error Domain=NSOSStatusErrorDomain Code=-10811 "kLSNotAnApplicationErr: Item needs to be an application, but is not" UserInfo={_LSLine=4129, _LSFunction=_LSOpenStuffCallLocal}

This may also help with #78.

(This was discovered in here https://github.com/typst/typst/issues/3255, linking that for users seeing the original issue in Typst).

SylvanFranklin commented 2 weeks ago

I am here after discovering this on my own while using the aerospace window manager. Trying to detect the Zathura window is impossible for some reason. No progress has yet been made on this issue: here.