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