3 # This script updates icons from the SVG file
8 BASEDIR = os.path.abspath(os.path.dirname(__file__))
10 inkscape_path = 'inkscape'
12 if sys.platform == 'darwin':
13 inkscape_app_path = '/Applications/Inkscape.app/Contents/Resources/script'
14 if os.path.exists(inkscape_app_path):
15 inkscape_path = inkscape_app_path
19 os.path.join(BASEDIR, "prvicons.svg"),
21 "--export-png=" + os.path.join(BASEDIR, "prvicons.png"),
23 subprocess.check_call(cmd)