Is there a way to programatically update a plugin or force update ?

已回答

Is there a way to do any of the below

  1. programatically update the plugin in background (or)
  2. programatically restrict project opening unless plugin is updated manually (or)
  3. 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. 

0

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

1

请先登录再写评论。