Icons: support setting blender, inkscape commands

This commit is contained in:
Campbell Barton 2018-07-12 09:13:18 +02:00
parent 1db47a2ccd
commit b328a59373

@ -11,8 +11,8 @@ def run(cmd):
BASEDIR = os.path.abspath(os.path.dirname(__file__)) BASEDIR = os.path.abspath(os.path.dirname(__file__))
inkscape_bin = "inkscape" inkscape_bin = os.environ.get("INKSCAPE_BIN", "inkscape")
blender_bin = "blender" blender_bin = os.environ.get("BLENDER_BIN", "blender")
if sys.platform == 'darwin': if sys.platform == 'darwin':
inkscape_app_path = '/Applications/Inkscape.app/Contents/Resources/script' inkscape_app_path = '/Applications/Inkscape.app/Contents/Resources/script'