Explicitly set python exec and ignore errors from run from source blocks in main

This commit is contained in:
Veronica Berglyd Olsen
2024-04-20 21:31:04 +02:00
parent c2f0d04a35
commit e8bd9b21b5
2 changed files with 6 additions and 9 deletions
+1 -1
View File
@@ -139,7 +139,7 @@ echo "Creating entry script ..."
cat > novelWriter.app/Contents/MacOS/novelWriter << EOF
#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
$DIR/../Resources/bin/python -sE $DIR/../Resources/novelWriter/novelWriter.py \$@
$DIR/../Resources/bin/python$PYTHON -sE $DIR/../Resources/novelWriter/novelWriter.py \$@
EOF
# Make it executable