From acd708df15b3559daa0790f366ca4dde233c89e4 Mon Sep 17 00:00:00 2001 From: Aron Bordin Date: Mon, 20 Apr 2015 14:45:00 -0300 Subject: [PATCH] copy manifest.webapp on web compile copy manifest.webapp on web compile --- plugins/project_compile/project_compile.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/plugins/project_compile/project_compile.py b/plugins/project_compile/project_compile.py index 5a66b343..bd17e798 100644 --- a/plugins/project_compile/project_compile.py +++ b/plugins/project_compile/project_compile.py @@ -1194,6 +1194,13 @@ def build_web(self): shutil.rmtree(dst_dir) shutil.copytree(src_dir, dst_dir) + # copy manifest.webapp + manifest_src = os.path.join(project_dir, 'manifest.webapp') + manifest_dst = os.path.join(publish_dir, 'manifest.webapp') + if os.path.exists(manifest_src): + if os.path.exists(manifest_dst): + os.remove(manifest_dst) + shutil.copy2(manifest_src, manifest_dst) def build_linux(self):