diff options
author | Jean-Luc Peurière <jlp@nerim.net> | 2004-07-30 03:21:05 +0400 |
---|---|---|
committer | Jean-Luc Peurière <jlp@nerim.net> | 2004-07-30 03:21:05 +0400 |
commit | 4f278a78d43a584c2f0a6d009b40932fe9bbcbc1 (patch) | |
tree | 9faa5025fd9a9db64e6c65f548f8203c54bdaa43 | |
parent | c72675176078c802ff465fea91778790c2988bc8 (diff) |
python scripts are not found if they are not placed in a .blender folder
inside MacOs folder of bundle.
their previous location (ressource folder) would however be more logical.
-rw-r--r-- | SConstruct | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/SConstruct b/SConstruct index 3641f80eb8e..7491d6114e7 100644 --- a/SConstruct +++ b/SConstruct @@ -1277,10 +1277,12 @@ def appit(target, source, env): shutil.copy('bin/.blender/.bfont.ttf', cmd) shutil.copy('bin/.blender/.Blanguages', cmd) cmd = 'cp -R bin/.blender/locale %s.app/Contents/Resources/'%target + commands.getoutput(cmd) + cmd = 'mkdir %s.app/Contents/MacOS/.blender'%target commands.getoutput(cmd) - cmd = 'cp -R release/bpydata %s.app/Contents/Resources/'%target + cmd = 'cp -R release/bpydata %s.app/Contents/MacOS/.blender'%target commands.getoutput(cmd) - cmd = 'cp -R release/scripts %s.app/Contents/Resources/'%target + cmd = 'cp -R release/scripts %s.app/Contents/MacOS/.blender/'%target commands.getoutput(cmd) cmd = 'cp -R release/plugins %s.app/Contents/Resources/'%target commands.getoutput(cmd) @@ -1314,9 +1316,9 @@ def appit(target, source, env): shutil.copy('bin/.blender/.Blanguages', cmd) cmd = 'cp -R bin/.blender/locale %s.app/Contents/Resources/'%target commands.getoutput(cmd) - cmd = 'cp -R release/bpydata %s.app/Contents/Resources/'%target + cmd = 'cp -R release/bpydata %s.app/Contents/MacOS/.blender'%target commands.getoutput(cmd) - cmd = 'cp -R release/scripts %s.app/Contents/Resources/'%target + cmd = 'cp -R release/scripts %s.app/Contents/MacOS/.blender/'%target commands.getoutput(cmd) cmd = 'cp -R release/plugins %s.app/Contents/Resources/'%target commands.getoutput(cmd) |