Is there a way to programatically update a plugin or force update ?
Answered
Is there a way to do any of the below
- programatically update the plugin in background (or)
- programatically restrict project opening unless plugin is updated manually (or)
- any workaround or hack to force the user to update the plugin before continuing work
FYI: Plugin is stored in a custom repository as given in this doc
My intention here is not to force update users to update plugin for each version, but just prepare for time when we need to force update in case of any critical issue.
Please sign in to leave a comment.
You may create an application service that will check on startup if your repository contains a newer version of the plugin.
Have you checked before the intellij-community sources for the plugin's installation/update process? i.e. UpdateInstaller