|
|
|
@ -138,7 +138,7 @@ public class DeepLinkManager {
|
|
|
|
|
public String[] createNewArgs(String[] args) { |
|
|
|
|
String filePath = this.pendingURL; |
|
|
|
|
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); |
|
|
|
|
markPendingURLConsumed(); |
|
|
|
|
return argList.toArray(new String[]{}); |
|
|
|
|