I've encountered this problem before, but I forgot how I have fixed it exactly. I think I changed the perms but I don't remember the specifics.
I have changed the perms for the folder and the files inside:
But it still automatically closes. I tried going to the file directory on the terminal, and then I do this:
I'm not sure what's the matter now. Here's the contents of Digital.sh, if it helps:kirsten@StinkyDudels-eM350:~/Apps/Digital-linux-x86$ bash Digital.shDigital.sh: line 20: /home/kirsten/Apps/Digital-linux-x86/lib/python: Permission denied
Digital.sh: line 20: exec: /home/kirsten/Apps/Digital-linux-x86/lib/python: cannot execute: Permission denied
Any help would be appreciated!#!/bin/sh
# We assume Darwin means Mac OS X. Sorry, Darwin guys.
if [ "x`uname -s`" = "xDarwin" ]; then
dir=`dirname "$0"`
dir=`cd "$dir"; pwd`
base=`basename "$0"`
export RENPY_LAUNCHER_DIR="$dir"
if [ -e "$dir/${base%.sh}.app/Contents/MacOS/${base%.sh}" ] ; then
launcher="$dir/${base%.sh}.app/Contents/MacOS/${base%.sh}"
else
launcher="$dir/${base%.sh}.app/Contents/MacOS/Ren'Py Launcher"
fi
exec "$launcher" "${0%.sh}.py" "$@"
fi
exec "`dirname \"$0\"`/lib/python" "-OO" "${0%.sh}.py" "$@"
SOLVED: Had to set the python file to allow executable file to be run. >.>
Bookmarks