美文网首页
macOS Sierra下Homebrew安装inkscape后

macOS Sierra下Homebrew安装inkscape后

作者: librahoo | 来源:发表于2017-06-26 23:44 被阅读0次

macOS Sierra 下使用 brew 安装 inkscape 后在LaunchPad缺GUI界面,每次都要从terminal启动,通过使用Apple Script Editor创建一个link application,可以弥补这一缺陷。

打开Script Editor,新建文件内容:

tell application "Finder"

run script "/usr/local/Cellar/inkscape/0.92.1/bin/inkscape"

end tell

保存成 Application,命名为Inkscape,将这个app拖到系统Applications文件夹即可。

默认的app图标是script图标,右键选中Inkscape.app > Show package contents, 找到 Contents/Resources/applet.icns这个文件,替换成inkscape.icns 

搞定!

相关文章

网友评论

      本文标题:macOS Sierra下Homebrew安装inkscape后

      本文链接:https://www.haomeiwen.com/subject/kvlscxtx.html