|
|
@ -17,11 +17,11 @@ public class PMDialogAction implements OSBasedAction { |
|
|
|
private static String PLUGIN_MANAGER_ROUTE = "#management/plugin"; |
|
|
|
private static String PLUGIN_MANAGER_ROUTE = "#management/plugin"; |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void execute(Object... objects) { |
|
|
|
public void execute(Object... objects) { |
|
|
|
if(Arch.getArch() == Arch.ARM){ |
|
|
|
if(Arch.getArch() == Arch.ARM || OperatingSystem.isLinux()){ |
|
|
|
DesignUtils.visitEnvServerByParameters( PLUGIN_MANAGER_ROUTE,null,null); |
|
|
|
DesignUtils.visitEnvServerByParameters( PLUGIN_MANAGER_ROUTE,null,null); |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
if (ServerPreferenceConfig.getInstance().isUseOptimizedUPM() && !OperatingSystem.isLinux()) { |
|
|
|
if (ServerPreferenceConfig.getInstance().isUseOptimizedUPM()) { |
|
|
|
UpmFinder.showUPMDialog(); |
|
|
|
UpmFinder.showUPMDialog(); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
WebViewDlgHelper.createPluginDialog(); |
|
|
|
WebViewDlgHelper.createPluginDialog(); |
|
|
|