Icons: update alert icon script

Missed from c549d736cf.
This commit is contained in:
Campbell Barton 2021-08-04 11:03:23 +10:00
parent 0d2589d08c
commit 8a1c1279b3
1 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@ BASEDIR = os.path.abspath(os.path.dirname(__file__))
inkscape_path = 'inkscape'
if sys.platform == 'darwin':
inkscape_app_path = '/Applications/Inkscape.app/Contents/Resources/script'
inkscape_app_path = '/Applications/Inkscape.app/Contents/MacOS/inkscape'
if os.path.exists(inkscape_app_path):
inkscape_path = inkscape_app_path
@ -19,7 +19,7 @@ cmd = (
os.path.join(BASEDIR, "alert_icons.svg"),
"--export-width=1280",
"--export-height=256",
"--without-gui",
"--export-png=" + os.path.join(BASEDIR, "alert_icons.png"),
"--export-type=png",
"--export-filename=" + os.path.join(BASEDIR, "alert_icons.png"),
)
subprocess.check_call(cmd)