Fix escapes in MacOS launch script
This commit is contained in:
@@ -137,9 +137,9 @@ cp $SRC_DIR/setup/macos/novelwriter.icns novelWriter.app/Contents/Resources/
|
||||
# Create entry script
|
||||
echo "Creating entry script ..."
|
||||
cat > novelWriter.app/Contents/MacOS/novelWriter << EOF
|
||||
DIR="\$( cd "\$( dirname "\${BASH_SOURCE[0]}" )" && pwd )"
|
||||
#!/bin/bash
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
$DIR/../Resources/bin/python$PYTHON -sE $DIR/../Resources/novelWriter/novelWriter.py \$@
|
||||
\$DIR/../Resources/bin/python -sE \$DIR/../Resources/novelWriter/novelWriter.py \$@
|
||||
EOF
|
||||
|
||||
# Make it executable
|
||||
|
||||
Reference in New Issue
Block a user