Browse Source

Pull request #2108: REPORT-36306 linux设计器改成跳转到平台的插件管理

Merge in DESIGN/design from ~LANLAN/design:release/10.0 to release/10.0

* commit 'f68f094bca159bb7ba31ce2d474c28f415903b62':
  REPORT-36306 linux设计器改成跳转到平台的插件管理
feature/big-screen
Lanlan 4 years ago
parent
commit
b467bd81b2
  1. 4
      designer-base/src/main/java/com/fr/design/os/impl/PMDialogAction.java

4
designer-base/src/main/java/com/fr/design/os/impl/PMDialogAction.java

@ -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();

Loading…
Cancel
Save