diff options
author | Mitchell Stokes <mogurijin@gmail.com> | 2011-11-24 03:27:39 +0400 |
---|---|---|
committer | Mitchell Stokes <mogurijin@gmail.com> | 2011-11-24 03:27:39 +0400 |
commit | c204e1a522962420e0df103e03edc26990ce7117 (patch) | |
tree | e0a72455563f9ae726b3ec28799648e267c87af9 | |
parent | 97b83344a739a446f13e6de2c8cddb218095b94b (diff) |
Fixing the lib/lib issue.
-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 |