mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-07-04 22:10:56 +12:00
Small MacOS integration fixes
This commit is contained in:
parent
ef3b7c448f
commit
4e1c38f27d
|
@ -56,6 +56,8 @@ public class DesktopShortcuts {
|
||||||
try (var pc = ShellStore.local().create().start()) {
|
try (var pc = ShellStore.local().create().start()) {
|
||||||
pc.executeSimpleCommand(
|
pc.executeSimpleCommand(
|
||||||
pc.getShellType().flatten(pc.getShellType().getMkdirsCommand(base + "/Contents/MacOS")));
|
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;
|
var executable = base + "/Contents/MacOS/" + name;
|
||||||
pc.executeSimpleCommand(pc.getShellType().getTextFileWriteCommand(content, executable));
|
pc.executeSimpleCommand(pc.getShellType().getTextFileWriteCommand(content, executable));
|
||||||
|
|
Loading…
Reference in a new issue