-
Notifications
You must be signed in to change notification settings - Fork 59
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
"post-install-hook" doesn't run on activate #141
Comments
If "post-install-hook" really is only intended to run after successful plugin installation, it would be extremely handy to add a "post-activate-hook" that runs on activate. I'm from the google/maktaba team and I discovered that VAM and the addon-info.json spec would be brilliant for managing plugins built on maktaba. maktaba does some initialization of its own for newly-activated plugins, and a "post-activate-hook" would allow us to kick off that initialization. |
This hook must not run on Post activate hook will not be added. Wondering what initialization do you need that has to be run on each plugin activation. If you want to say that after calling |
I guess I misspoke when I mentioned Filed a separate feature request for "post-activate-hook" at #142. |
The help says
but post-install-hook commands seem to only be run after :InstallAddons, and only if the addon wasn't already installed.
Is this a bug in the code or documentation?
The text was updated successfully, but these errors were encountered: