<div dir="ltr">Hello, I've been trying kstars on OSX, and I've encountered a few issues about path detection.<div><br></div><div>On application startup, kstars complains about INDI directory:</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Unable to find INDI Drivers directory: /usr/local/share/indi<br>Please make sure to set the correct path in KStars configuration</blockquote><div><br></div><div>I get a similar message when Ekos starts, complaining about astrometry.cfg.</div><div><br></div><div>On OSX, path detection should always depend on the current bundle absolute path.</div><div>I just had a similar problem myself, if you don't want to modify the app itself to detect its prefix you should use a bash launcher script, and use this script in info.plist instead of the kstars binary.</div><div>The script should then pass to the kstars binary the application prefix (using a command line option, or an environment variable, for instance).</div><div><br></div><div><br></div><div>You can find some examples in my application github repo, in the files directory: <a href="https://github.com/GuLinux/PlanetaryImager/tree/v0.7/files">https://github.com/GuLinux/PlanetaryImager/tree/v0.7/files</a> </div><div><br></div><div>In this case, Info.plist points to planetary_imager_osx_launcher.sh, which firstly detects the bundle absolute path, and then launches planetary_imager with the "--drivers" option to properly find them in the bundle path.</div><div><br></div><div>Cheers,</div><div>Marco</div><div><br></div><div><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">--------------------------------------------------------- </div><div dir="ltr">Marco Gulino - Senior Software Developer and Open Source advocate<div>website/blog: <a href="https://blog.gulinux.net" target="_blank">https://blog.gulinux.net</a></div><div>SkyPlanner - planning software for stargazing: <a href="http://skyplanner.gulinux.net" target="_blank">http://skyplanner.gulinux.net</a></div></div></div></div></div></div></div></div>
</div></div>