From 3c48fff1595146594f679e26b015fecec17a371c Mon Sep 17 00:00:00 2001 From: Wojtek Mach Date: Wed, 19 Jan 2022 13:40:59 +0100 Subject: [PATCH] Fix launcher script (#888) The idea was to leave trailing `\` for bash but it needs to be escaped! The script worked fine fwiw. --- app_builder/lib/app_builder/macos.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app_builder/lib/app_builder/macos.ex b/app_builder/lib/app_builder/macos.ex index acd1b4102..cff2e3806 100644 --- a/app_builder/lib/app_builder/macos.ex +++ b/app_builder/lib/app_builder/macos.ex @@ -142,8 +142,8 @@ defmodule AppBuilder.MacOS do #!/bin/sh set -e root=$(dirname $(dirname "$0")) - $root/Resources/rel/bin/#{release_name} start \ - 1>> ~/Library/Logs/#{app_name}.stdout.log \ + $root/Resources/rel/bin/#{release_name} start \\ + 1>> ~/Library/Logs/#{app_name}.stdout.log \\ 2>> ~/Library/Logs/#{app_name}.stderr.log """ end