Fix launcher script (#888)

The idea was to leave trailing `\` for bash but it needs to be escaped!
The script worked fine fwiw.
This commit is contained in:
Wojtek Mach 2022-01-19 13:40:59 +01:00 committed by GitHub
parent a326161e6b
commit 3c48fff159
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -142,8 +142,8 @@ defmodule AppBuilder.MacOS do
#!/bin/sh #!/bin/sh
set -e set -e
root=$(dirname $(dirname "$0")) root=$(dirname $(dirname "$0"))
$root/Resources/rel/bin/#{release_name} start \ $root/Resources/rel/bin/#{release_name} start \\
1>> ~/Library/Logs/#{app_name}.stdout.log \ 1>> ~/Library/Logs/#{app_name}.stdout.log \\
2>> ~/Library/Logs/#{app_name}.stderr.log 2>> ~/Library/Logs/#{app_name}.stderr.log
""" """
end end