[Github-comments] [geany/geany-osx] command not found: geany (#15)

Jiří Techet notifications at xxxxx
Sat Oct 10 18:14:06 UTC 2020


> I've noticed though that
> 
> ```
> sudo ln -s /Applications/Geany.app/Contents/MacOS/geany  /usr/local/bin/geany
> ```
> 
> doesn't work and Geany won't load the shared library. I'll have a look at the problem for the next release so I'll keep this report open for now.

Hmm, I didn't find any easy fix - when the main binary is symlinked, NSBundle returns the location of the symlink itself as the bundle path and Geany depends on this path in

https://github.com/geany/geany/blob/915cf6e8d0b63482e23564c68b2f478cc3ff9cb2/src/utils.c#L2320

where gtkosx_application_get_resource_path() uses the path obtained by NSBundle.

Since there is a way to put Geany into PATH, I'll close this issue.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-osx/issues/15#issuecomment-706589975
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20201010/e1ab02f4/attachment.htm>


More information about the Github-comments mailing list