diff --git a/direct/src/plugin_installer/make_installer.py b/direct/src/plugin_installer/make_installer.py index e48d294d96..7012dfd54e 100755 --- a/direct/src/plugin_installer/make_installer.py +++ b/direct/src/plugin_installer/make_installer.py @@ -204,7 +204,7 @@ def makeInstaller(): # up the plugin/runtime. if sys.platform == "darwin": npapi = 'nppanda3d.plugin' - panda3d = 'panda3d' + panda3d = 'Panda3D.app' baseFiles = [npapi, panda3d] else: ocx = 'p3dactivex.ocx' @@ -239,7 +239,7 @@ def makeInstaller(): shutil.rmtree(tmproot.toOsSpecific()) tmproot.makeDir() dst_npapi = Filename(tmproot, Filename("Library/Internet Plug-Ins", npapi)) - dst_panda3d = Filename(tmproot, Filename("usr/bin", panda3d)) + dst_panda3d = Filename(tmproot, Filename("Applications", panda3d)) dst_npapi.makeDir() dst_panda3d.makeDir() shutil.copytree(pluginFiles[npapi], dst_npapi.toOsSpecific()) diff --git a/makepanda/makepandacore.py b/makepanda/makepandacore.py index 34503b7c40..842cc3b31c 100644 --- a/makepanda/makepandacore.py +++ b/makepanda/makepandacore.py @@ -1582,7 +1582,7 @@ def CalcLocation(fn, ipath): if (fn.endswith(".dat")): return OUTPUTDIR+"/tmp/"+fn if (fn.endswith(".rsrc")): return OUTPUTDIR+"/tmp/"+fn if (fn.endswith(".plugin")):return OUTPUTDIR+"/plugins/"+fn - if (fn.endswith(".app")): return OUTPUTDIR+"/"+fn + if (fn.endswith(".app")): return OUTPUTDIR+"/bin/"+fn if (fn.endswith(".in")): return OUTPUTDIR+"/pandac/input/"+fn else: if (fn.endswith(".obj")): return OUTPUTDIR+"/tmp/"+fn[:-4]+".o"