Fix: Allow OSX builds to find blender and inkscape correctly for make icons
#117464
|
@ -26,8 +26,8 @@ if sys.platform[:3] == "win":
|
||||||
env["SystemDrive"] = os.environ.get("SystemDrive", "")
|
env["SystemDrive"] = os.environ.get("SystemDrive", "")
|
||||||
env["SystemRoot"] = os.environ.get("SystemRoot", "")
|
env["SystemRoot"] = os.environ.get("SystemRoot", "")
|
||||||
|
|
||||||
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/MacOS/inkscape'
|
inkscape_app_path = '/Applications/Inkscape.app/Contents/MacOS/inkscape'
|
||||||
|
@ -39,8 +39,6 @@ if sys.platform == 'darwin':
|
||||||
else:
|
else:
|
||||||
blender_bin = "Blender"
|
blender_bin = "Blender"
|
||||||
|
|
||||||
inkscape_bin = os.environ.get("INKSCAPE_BIN", inkscape_bin)
|
|
||||||
blender_bin = os.environ.get("BLENDER_BIN", blender_bin)
|
|
||||||
|
|
||||||
cmd = (
|
cmd = (
|
||||||
inkscape_bin,
|
inkscape_bin,
|
||||||
|
|
Loading…
Reference in New Issue