diff --git a/admin/osx/craft-client.swift b/admin/osx/craft-client.swift index e5007bdefd..b4afc8447d 100644 --- a/admin/osx/craft-client.swift +++ b/admin/osx/craft-client.swift @@ -60,3 +60,14 @@ if commandExists("brew") { } print("Brew installed.") } + +if commandExists("inkscape") { + print("Inkscape is installed.") +} else { + guard shell("brew install inkscape") == 0 else { + print("Failed to install Inkscape.") + exit(1) + } + print("Inkscape installed.") +} +