Thanks to visit codestin.com
Credit goes to github.com

Skip to content

AppRun hooks for plugins #87

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

Merged
merged 15 commits into from
Aug 14, 2019
Merged

AppRun hooks for plugins #87

merged 15 commits into from
Aug 14, 2019

Conversation

TheAssassin
Copy link
Member

As suggested in #81, plugins might have to install some setup code to e.g., make libraries look into alternative locations for plugins or other resources, etc. by e.g., exporting environment variables.

This is implemented with this PR as described in the plugin system spec.

Closes #81.

Makes adding more features easier, as there's a clear defined interface
to the class and the mechanism can be split into more methods more
easily without bloating the AppDir class further.
When your IDE is running as an AppImage, the $APPRUN variable is
already set in the built-in terminal. Now of course you could just
calculate the path of $APPRUN yourself and force-overwrite it in that
script; however that's more effort and more likely to break.

Therefore it's easier to just introduce and use a custom variable.
@TheAssassin TheAssassin merged commit 4746fd0 into master Aug 14, 2019
@TheAssassin
Copy link
Member Author

Merging as build failure is not the branch's fault.

@TheAssassin TheAssassin deleted the apprun-hooks branch August 14, 2019 14:11
@TheAssassin TheAssassin mentioned this pull request Sep 1, 2019
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.

Allow plugins to hook into AppRun
1 participant