Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use paths relative to the bundle on OS X #569

Merged
merged 6 commits into from
Apr 29, 2017
Merged

Use paths relative to the bundle on OS X #569

merged 6 commits into from
Apr 29, 2017

Conversation

techee
Copy link
Member

@techee techee commented Apr 26, 2017

These patches try to fix the problems described in #507 for various plugins. They address only "serious" issues which prevent correct operation of the plugin like not locating .glade or .ui files, not "minor" problems like not showing documentation when clicking the Help button of the plugin.

There's the same function get_data_dir_path() in each plugin which locates the file in the correct directory for each platform. For OS X laucher script I added an environment variable GEANY_PLUGINS_SHARE_PATH which is set before the binary is started so it should be defined and can be used by the plugin.

@frlan
Copy link
Member

frlan commented Apr 29, 2017

I'm using this patchset already on MacOS as well as did a smoke test for my Debian. Needs further testing on other platforms that's why fast merging. But looks fine to me

@frlan frlan merged commit cfd70a8 into master Apr 29, 2017
@techee techee mentioned this pull request Oct 10, 2017
@frlan frlan deleted the osx_relpath branch April 16, 2019 07:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants