From 2e2a358cd008e5c85d638c718c4c9649f427b99a Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Wed, 22 Jan 2014 10:28:03 +0000 Subject: [PATCH] load png resources in css with ?version --- tools/build/build.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/build/build.py b/tools/build/build.py index 533d5a4a..416b2d4a 100755 --- a/tools/build/build.py +++ b/tools/build/build.py @@ -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)