From 4e1c38f27d5d6b3c22f62fc9fa184bbff032ac93 Mon Sep 17 00:00:00 2001 From: crschnick Date: Mon, 6 Feb 2023 13:26:37 +0000 Subject: [PATCH] Small MacOS integration fixes --- .../src/main/java/io/xpipe/extension/util/DesktopShortcuts.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/extension/src/main/java/io/xpipe/extension/util/DesktopShortcuts.java b/extension/src/main/java/io/xpipe/extension/util/DesktopShortcuts.java index 904de7a1b..bbe43bf49 100644 --- a/extension/src/main/java/io/xpipe/extension/util/DesktopShortcuts.java +++ b/extension/src/main/java/io/xpipe/extension/util/DesktopShortcuts.java @@ -56,6 +56,8 @@ public class DesktopShortcuts { try (var pc = ShellStore.local().create().start()) { pc.executeSimpleCommand( pc.getShellType().flatten(pc.getShellType().getMkdirsCommand(base + "/Contents/MacOS"))); + pc.executeSimpleCommand( + pc.getShellType().flatten(pc.getShellType().getMkdirsCommand(base + "/Contents/Resources"))); var executable = base + "/Contents/MacOS/" + name; pc.executeSimpleCommand(pc.getShellType().getTextFileWriteCommand(content, executable));