Source

pygame / lib / macosx.py

Diff from to

File lib/macosx.py

         install()
     # running inside a bundle, change dir
     if (os.getcwd() == '/') and len(sys.argv) > 1:
-        os.chdir(os.path.basedir(sys.argv[0]))
+        os.chdir(os.path.dirname(sys.argv[0]))
     return True