Commit d892d4e1 authored by Jack Jansen's avatar Jack Jansen

Make the Resources directory if needed.

parent 180ceedc
...@@ -101,6 +101,8 @@ def buildappbundle(executable, output=None, copyfunc=None, creator=None, ...@@ -101,6 +101,8 @@ def buildappbundle(executable, output=None, copyfunc=None, creator=None,
# #
if resources: if resources:
resdir = os.path.join(contents, 'Resources') resdir = os.path.join(contents, 'Resources')
if not os.path.isdir(resdir):
os.mkdir(resdir)
for src in resources: for src in resources:
dst = os.path.join(resdir, os.path.split(src)[1]) dst = os.path.join(resdir, os.path.split(src)[1])
if os.path.isdir(src): if os.path.isdir(src):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment