load png resources in css with ?version
This commit is contained in:
parent
d8221192d9
commit
2e2a358cd0
1 changed files with 1 additions and 0 deletions
|
@ -61,6 +61,7 @@ def build_oxjs(downloads=False, geo=False):
|
|||
css = read_file(source_path + 'Ox.UI/css/theme.css')
|
||||
for theme in themes:
|
||||
theme_css = parse_css(css, theme_data[theme])
|
||||
theme_css = theme_css.replace('.png)', '.png?%s)' % version)
|
||||
write_file('%sOx.UI/themes/%s/css/theme.css' % (build_path, theme), theme_css)
|
||||
write_file('%sOx.UI/themes/%s/css/theme.css' % (dev_path, theme), theme_css)
|
||||
|
||||
|
|
Loading…
Reference in a new issue