Index: packagerEdge.py |
=================================================================== |
--- a/packagerEdge.py |
+++ b/packagerEdge.py |
@@ -178,6 +178,11 @@ |
'chromeDevenvPoller__.js'), relpath='devenvPoller__.js') |
files['devenvVersion__'] = str(random.random()) |
+ if metadata.has_option('general', 'backgroundScripts'): |
+ bg_scripts = metadata.get('general', 'backgroundScripts').split() |
+ if 'lib/info.js' in bg_scripts and 'lib/info.js' not in files: |
+ files['lib/info.js'] = packagerChrome.createInfoModule(params) |
+ |
move_files_to_extension(files) |
if metadata.has_section('appx_assets'): |