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

Add support for plugins #186

Merged
merged 2 commits into from
May 27, 2017
Merged

Add support for plugins #186

merged 2 commits into from
May 27, 2017

Conversation

sindresorhus
Copy link
Contributor

@sindresorhus sindresorhus commented May 26, 2017

Fixes #181

This adds the plugin system and ability to install and uninstall plugins. I've published kap-giphy as an example. You can install it from the Plugins pane in Preferences. This is also a general big refactor which was needed to get everything to work.

I would like to get this merged asap as it touches on code in a lot of places.

Anyone looking here, you can test it directly by downloading the built app: https://kap-artifacts.now.sh/wip-plugins

There were two issues at play here. First, `electron-packager` doesn’t seem to include hidden folder (prefixed with dot), so it didn’t include the binary. Seconds, it can’t find the `node` binary when packaged as there is no $PATH. Instead, we call Electron itself in Node.js mode.
@sindresorhus sindresorhus merged commit efc32d1 into master May 27, 2017
@sindresorhus sindresorhus deleted the wip-plugins branch May 27, 2017 14:38
@sindresorhus sindresorhus mentioned this pull request May 27, 2017
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.

1 participant