From 0e92ebccd478701c03a76cbc642e7753e0cbfd81 Mon Sep 17 00:00:00 2001 From: Mihail Slobodyanuk Date: Mon, 12 Dec 2022 14:53:09 +0200 Subject: [PATCH] Fix macos run mesh-ui plist RIVM-20 --- contrib/macos/create-pkg-gui.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/macos/create-pkg-gui.sh b/contrib/macos/create-pkg-gui.sh index 03484fc2..1624863b 100644 --- a/contrib/macos/create-pkg-gui.sh +++ b/contrib/macos/create-pkg-gui.sh @@ -52,9 +52,9 @@ cp contrib/macos/mesh.plist pkgbuild/root/Library/LaunchDaemons # Create open script 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 # Create the postinstall script