0001-general-make-standalone-pwa_display-mode-as-default-.patch
create_themes_json.py | ||
---|---|---|
24 | 24 |
theme['variables'] = {} |
25 | 25 |
if not theme['variables'].get('css_variant'): |
26 | 26 |
theme['variables']['css_variant'] = dirname |
27 |
if 'pwa_display' not in theme['variables']: |
|
28 |
theme['variables']['pwa_display'] = 'standalone' |
|
27 | 29 |
if os.path.exists(os.path.join('static', dirname, 'extra.js')): |
28 | 30 |
theme['variables']['no_extra_js'] = False |
29 | 31 |
else: |
30 |
- |