use createPath in file packager to allow separate asset bundles to play nicely with shared folders
This commit is contained in:
Родитель
bee6e63d8d
Коммит
04f0434322
|
@ -203,7 +203,7 @@ for file_ in data_files:
|
|||
for i in range(len(parts)):
|
||||
partial = '/'.join(parts[:i+1])
|
||||
if partial not in partial_dirs:
|
||||
code += '''Module['FS_createFolder']('/%s', '%s', true, true);\n''' % ('/'.join(parts[:i]), parts[i])
|
||||
code += '''Module['FS_createPath']('/%s', '%s', true, true);\n''' % ('/'.join(parts[:i]), parts[i])
|
||||
partial_dirs.append(partial)
|
||||
|
||||
if has_preloaded:
|
||||
|
|
Загрузка…
Ссылка в новой задаче