[Imprvement] Icon: add idcard icon and remove three icon (#1331)

This commit is contained in:
neverland
2018-06-26 15:14:17 +08:00
committed by GitHub
parent 5f8e2c66c2
commit 909bf8efca
8 changed files with 108 additions and 132 deletions

View File

@@ -26,7 +26,7 @@ const ttf = `${config.name}-${md5}.ttf`;
// should install sketchtool first
// install guide: https://developer.sketchapp.com/guides/sketchtool/
shell.exec(
`sketchtool export slices --formats=svg --overwriting=YES --save-for-web=YES --output=${svgDir} ${sketch}`
`/Applications/Sketch.app/Contents/Resources/sketchtool/bin/sketchtool export slices --formats=svg --overwriting=YES --save-for-web=YES --output=${svgDir} ${sketch}`
);
// remove previous ttf