<p></p>
<blockquote>
<p>I've noticed though that</p>
<pre><code>sudo ln -s /Applications/Geany.app/Contents/MacOS/geany  /usr/local/bin/geany
</code></pre>
<p>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.</p>
</blockquote>
<p>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</p>
<p><a href="https://github.com/geany/geany/blob/915cf6e8d0b63482e23564c68b2f478cc3ff9cb2/src/utils.c#L2320">https://github.com/geany/geany/blob/915cf6e8d0b63482e23564c68b2f478cc3ff9cb2/src/utils.c#L2320</a></p>
<p>where gtkosx_application_get_resource_path() uses the path obtained by NSBundle.</p>
<p>Since there is a way to put Geany into PATH, I'll close this issue.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany-osx/issues/15#issuecomment-706589975">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ3XUHAXJXGUM4O34MLSKCP65ANCNFSM4MP6LMIQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ37UZ5L2GHOHFNZB63SKCP65A5CNFSM4MP6LMI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFIO3KFY.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany-osx/issues/15#issuecomment-706589975",
"url": "https://github.com/geany/geany-osx/issues/15#issuecomment-706589975",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>