this_path="$(dirname "$0")"
cd $this_path
this_path=$PWD
export LD_LIBRARY_PATH="$this_path/lib":"$this_path/lib/runtime_lib":$LD_LIBRARY_PATH
export PATH="$this_path/bin":$PATH
chmod +x "$this_path/RCBasic-Studio"
chmod +x "$this_path/bin/dist.sh"
chmod +x "$this_path/bin/dist_tool"
chmod +x "$this_path/bin/rcbasic4"
chmod +x "$this_path/bin/rcbasic_build4"
chmod +x "$this_path/bin/rcbasic_dist.sh"
chmod +x "$this_path/bin/rcbasic_studio_build"
chmod +x "$this_path/bin/rcbasic_studio_run"
chmod +x "$this_path/bin/rcbasic_studio_run_process"
chmod +x "$this_path/bin/rc_process"
chmod +x "$this_path/bin/stop_process"
GDK_BACKEND=x11 "$this_path/RCBasic-Studio"
