David Rose 16 lat temu
rodzic
commit
94f6beab75
1 zmienionych plików z 1 dodań i 2 usunięć
  1. 1 2
      direct/src/plugin_npapi/make_osx_bundle.py

+ 1 - 2
direct/src/plugin_npapi/make_osx_bundle.py

@@ -46,8 +46,7 @@ def makeBundle(startDir):
     
     
     # Compile the .r file to an .rsrc file.
     # Compile the .r file to an .rsrc file.
     os.system('/Developer/Tools/Rez -useDF -o %s %s' % (
     os.system('/Developer/Tools/Rez -useDF -o %s %s' % (
-        resourceFilename.toOsSpecific(), Filename(fStartDir, "nppanda3d.r").toOsSpecific()))
-    tfile.unlink()
+        resourceFilename.toOsSpecific(), Filename(fstartDir, "nppanda3d.r").toOsSpecific()))
 
 
     if not resourceFilename.exists():
     if not resourceFilename.exists():
         raise IOError, 'Unable to run Rez'
         raise IOError, 'Unable to run Rez'