mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
don't delete bundled plugins when installing an updated plugin with the same ID from the plugin repo
This commit is contained in:
+1
-1
@@ -151,7 +151,7 @@ public class InstalledPluginsManagerMain extends PluginManagerMain {
|
||||
}
|
||||
|
||||
IdeaPluginDescriptor installedPlugin = PluginManager.getPlugin(pluginDescriptor.getPluginId());
|
||||
if (installedPlugin != null) {
|
||||
if (installedPlugin != null && !installedPlugin.isBundled()) {
|
||||
File oldFile = installedPlugin.getPath();
|
||||
if (oldFile != null) {
|
||||
StartupActionScriptManager.addActionCommand(new StartupActionScriptManager.DeleteCommand(oldFile));
|
||||
|
||||
Reference in New Issue
Block a user