Fix macos run mesh-ui plist RIVM-20

This commit is contained in:
Mihail Slobodyanuk 2022-12-12 14:53:09 +02:00
parent e4fbc30ed3
commit 0e92ebccd4

View file

@ -52,9 +52,9 @@ cp contrib/macos/mesh.plist pkgbuild/root/Library/LaunchDaemons
# Create open script # Create open script
cat > pkgbuild/root/Applications/RiV-mesh.app/Contents/MacOS/open-mesh-ui << EOF cat > pkgbuild/root/Applications/RiV-mesh.app/Contents/MacOS/open-mesh-ui << EOF
#!/bin/sh #!/usr/bin/env bash
/Applications/RiV-mesh.app/Contents/MacOS/mesh-ui /Applications/RiV-mesh.app/Contents/Resources/ui 1>/tmp/mesh-ui.stdout.log 2>/tmp/mesh-ui.stderr.log exec /Applications/RiV-mesh.app/Contents/MacOS/mesh-ui /Applications/RiV-mesh.app/Contents/Resources/ui 1>/tmp/mesh-ui.stdout.log 2>/tmp/mesh-ui.stderr.log
EOF EOF
# Create the postinstall script # Create the postinstall script