diff options
-rw-r--r-- | game_engine_save_as_runtime.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/game_engine_save_as_runtime.py b/game_engine_save_as_runtime.py index ad4f8f47..6c9e11b6 100644 --- a/game_engine_save_as_runtime.py +++ b/game_engine_save_as_runtime.py @@ -20,8 +20,8 @@ bl_info = { 'name': 'Save As Game Engine Runtime', 'author': 'Mitchell Stokes (Moguri)', 'version': (0, 3, 1), - "blender": (2, 5, 8), - "api": 37846, + "blender": (2, 6, 1), + "api": 42107, 'location': 'File > Export', 'description': 'Bundle a .blend file with the Blenderplayer', 'warning': '', @@ -48,7 +48,8 @@ def CopyPythonLibs(dst, overwrite_lib, report=print): # '/usr/lib/python3.2' vs '/usr/lib' # append python's library dir name to destination, so only python's # libraries would be copied - dst = os.path.join(dst, os.path.basename(src)) + if os.name == 'posix': + dst = os.path.join(dst, os.path.basename(src)) if os.path.exists(src): write = False |