Browse Source

Pull request #7664: REPORT-66169 mac双击模板文件时设计器无法唤起

Merge in DESIGN/design from ~STARRYI/design:REPORT-62688 to feature/x

* commit 'a619cde823965708a94089799e42c2627e3c6a35':
  REPORT-66169 mac双击模板文件时设计器无法唤起
feature/x
starryi 3 years ago
parent
commit
448c737524
  1. 2
      designer-realize/src/main/java/com/fr/design/deeplink/DeepLinkManager.java

2
designer-realize/src/main/java/com/fr/design/deeplink/DeepLinkManager.java

@ -138,7 +138,7 @@ public class DeepLinkManager {
public String[] createNewArgs(String[] args) { public String[] createNewArgs(String[] args) {
String filePath = this.pendingURL; String filePath = this.pendingURL;
if (OperatingSystem.isMacos() && StringUtils.isNotEmpty(filePath) && new File(filePath).exists()) { if (OperatingSystem.isMacos() && StringUtils.isNotEmpty(filePath) && new File(filePath).exists()) {
List<String> argList = Arrays.asList(args); List<String> argList = new ArrayList<>(Arrays.asList(args));
argList.add(filePath); argList.add(filePath);
markPendingURLConsumed(); markPendingURLConsumed();
return argList.toArray(new String[]{}); return argList.toArray(new String[]{});

Loading…
Cancel
Save