Make the Resources directory if needed.

This commit is contained in:
Jack Jansen 2002-11-15 00:07:31 +00:00
parent 180ceedc09
commit d892d4e1c0
1 changed files with 2 additions and 0 deletions

View File

@ -101,6 +101,8 @@ def buildappbundle(executable, output=None, copyfunc=None, creator=None,
#
if resources:
resdir = os.path.join(contents, 'Resources')
if not os.path.isdir(resdir):
os.mkdir(resdir)
for src in resources:
dst = os.path.join(resdir, os.path.split(src)[1])
if os.path.isdir(src):