Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

添加对 Sketch Runner 的支持 #8

Merged
merged 3 commits into from
Jul 5, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions README-zhCN.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@
1. 点击 [下载地址](https://github.com/weixin/WeSketch/archive/master.zip) 并解压缩。 *(支持 Sketch 44+)*  
2. 双击打开 `wesketch.sketchplugin` 安装使用

## 使用 Sketch Runner 安装
使用 Sketch Runner 在 `install` 命令下输入 `WeSketch` 即可安装。 Runner 可以帮助你管理插件以及做更多的事情来加速你的 Sketch 工作流。 [点此下载 Runner](https://www.sketchrunner.com).

<a href="https://www.sketchrunner.com"><img src="Runner_badge_blue_160x40.png" width="160px"></a>

## 界面预览

#### 菜单栏
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
1. Click [Download](https://github.com/weixin/WeSketch/archive/master.zip) and unzip。 *(Support Sketch 44+)*  
2. Double click `wesketch.sketchplugin` to install

## Install with Sketch Runner
With Sketch Runner, just go to the `install` command and search for `WeSketch`. Runner allows you to manage plugins and do much more to speed up your workflow in Sketch. [Download Runner here](https://www.sketchrunner.com).

<a href="https://www.sketchrunner.com"><img src="Runner_badge_blue_160x40.png" width="160px"></a>

## Screenshots

#### Menu Bar
Expand Down
Binary file added Runner_badge_blue_160x40.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions WeSketch.sketchplugin/Contents/Sketch/i18n/manifest-en.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"name" : "Draw Link",
"identifier" : "link",
"script" : "link.js",
"icon": "../Resources/icons/link.png",
"shortcut": "command shift 1",
"istool":"true",
"handlers" : {
Expand All @@ -20,6 +21,7 @@
"name" : "Mark Index",
"identifier" : "flag",
"script" : "flag.js",
"icon": "../Resources/icons/flag.png",
"shortcut": "command shift 2",
"handler" : "onRun",
"istool":"true",
Expand All @@ -28,6 +30,7 @@
"name" : "Icon Manager",
"identifier" : "iconQ",
"script" : "iconQ.js",
"icon": "../Resources/icons/icon.png",
"shortcut": "",
"istool":"true",
"handler" : "onRun"
Expand All @@ -36,6 +39,7 @@
"name" : "Advanced Font Replace",
"identifier" : "fontReplace",
"script" : "fontReplace.js",
"icon": "../Resources/icons/font.png",
"shortcut": "",
"istool":"true",
"handler" : "onRun"
Expand All @@ -44,6 +48,7 @@
"name" : "Advanced Text Relpace",
"identifier" : "textReplace",
"script" : "textReplace.js",
"icon": "../Resources/icons/text.png",
"shortcut": "command shift f",
"istool":"true",
"handler" : "onRun"
Expand All @@ -52,6 +57,7 @@
"name" : "Advanced Color Replace",
"identifier" : "colorReplace",
"script" : "colorReplace.js",
"icon": "../Resources/icons/color.png",
"shortcut": "",
"istool":"true",
"handler" : "onRun"
Expand All @@ -60,6 +66,7 @@
"name" : "Upload",
"identifier" : "uploadIcon",
"script" : "uploadIcon.js",
"icon": "../Resources/icons/icon.png",
"shortcut": "",
"istool":"",
"noshortcut":"true",
Expand All @@ -69,6 +76,7 @@
"name" : "Sync UI Kit",
"identifier" : "syncuikit",
"script" : "syncUIkit.js",
"icon": "../Resources/icons/syncui.png",
"shortcut": "",
"istool":"true",
"handler" : "onRun"
Expand All @@ -77,6 +85,7 @@
"name" : "Import UI Kit",
"identifier" : "importuikit",
"script" : "importUIkit.js",
"icon": "../Resources/icons/syncui.png",
"shortcut": "",
"istool":"",
"handler" : "onRun"
Expand All @@ -85,6 +94,7 @@
"name" : "Export UI Kit",
"identifier" : "exportuikit",
"script" : "exportUIkit.js",
"icon": "../Resources/icons/syncui.png",
"shortcut": "",
"istool":"",
"handler" : "onRun"
Expand All @@ -93,6 +103,7 @@
"name" : "Sync Colors",
"identifier" : "synccolor",
"script" : "syncColor.js",
"icon": "../Resources/icons/syncColor.png",
"shortcut": "",
"istool":"true",
"handler" : "onRun"
Expand All @@ -101,6 +112,7 @@
"name" : "Export Colors",
"identifier" : "exportcolor",
"script" : "exportColor.js",
"icon": "../Resources/icons/syncColor.png",
"shortcut": "",
"istool":"",
"handler" : "onRun"
Expand All @@ -109,6 +121,7 @@
"name" : "Import Colors",
"identifier" : "importcolor",
"script" : "importColor.js",
"icon": "../Resources/icons/syncColor.png",
"shortcut": "",
"istool":"",
"handler" : "onRun"
Expand All @@ -117,6 +130,7 @@
"name" : "Color Picker",
"identifier" : "codeColor",
"script" : "codeColor.js",
"icon": "../Resources/icons/codeColor.png",
"shortcut": "command shift c",
"istool":"true",
"handler" : "onRun"
Expand All @@ -125,6 +139,7 @@
"name" : "Copy CSS Style",
"identifier" : "codeStyle",
"script" : "codeStyle.js",
"icon": "../Resources/icons/codeStyle.png",
"shortcut": "command shift d",
"istool":"true",
"handler" : "onRun"
Expand All @@ -133,6 +148,7 @@
"name" : "Advanced Export",
"identifier" : "exportSlice",
"script" : "exportSlice.js",
"icon": "../Resources/icons/cut.png",
"shortcut": "command shift u",
"istool":"true",
"handler" : "onRun"
Expand Down
16 changes: 16 additions & 0 deletions WeSketch.sketchplugin/Contents/Sketch/i18n/manifest-zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"name" : "交互连线",
"identifier" : "link",
"script" : "link.js",
"icon": "../Resources/icons/link.png",
"shortcut": "command shift 1",
"istool":"true",
"handlers" : {
Expand All @@ -20,6 +21,7 @@
"name" : "注释标记",
"identifier" : "flag",
"script" : "flag.js",
"icon": "../Resources/icons/flag.png",
"shortcut": "command shift 2",
"handler" : "onRun",
"istool":"true",
Expand All @@ -28,6 +30,7 @@
"name" : "图标库",
"identifier" : "iconQ",
"script" : "iconQ.js",
"icon": "../Resources/icons/icon.png",
"shortcut": "",
"istool":"true",
"handler" : "onRun"
Expand All @@ -36,6 +39,7 @@
"name" : "字体批量替换",
"identifier" : "fontReplace",
"script" : "fontReplace.js",
"icon": "../Resources/icons/font.png",
"shortcut": "",
"istool":"true",
"handler" : "onRun"
Expand All @@ -44,6 +48,7 @@
"name" : "文本批量替换",
"identifier" : "textReplace",
"script" : "textReplace.js",
"icon": "../Resources/icons/text.png",
"shortcut": "command shift f",
"istool":"true",
"handler" : "onRun"
Expand All @@ -52,6 +57,7 @@
"name" : "颜色批量替换",
"identifier" : "colorReplace",
"script" : "colorReplace.js",
"icon": "../Resources/icons/color.png",
"shortcut": "",
"istool":"true",
"handler" : "onRun"
Expand All @@ -60,6 +66,7 @@
"name" : "上传图标",
"identifier" : "uploadIcon",
"script" : "uploadIcon.js",
"icon": "../Resources/icons/icon.png",
"shortcut": "",
"istool":"",
"noshortcut":"true",
Expand All @@ -69,6 +76,7 @@
"name" : "同步 UI Kit",
"identifier" : "syncuikit",
"script" : "syncUIkit.js",
"icon": "../Resources/icons/syncui.png",
"shortcut": "",
"istool":"true",
"handler" : "onRun"
Expand All @@ -77,6 +85,7 @@
"name" : "导入 UI Kit",
"identifier" : "importuikit",
"script" : "importUIkit.js",
"icon": "../Resources/icons/syncui.png",
"shortcut": "",
"istool":"",
"handler" : "onRun"
Expand All @@ -85,6 +94,7 @@
"name" : "导出 UI Kit",
"identifier" : "exportuikit",
"script" : "exportUIkit.js",
"icon": "../Resources/icons/syncui.png",
"shortcut": "",
"istool":"",
"handler" : "onRun"
Expand All @@ -93,6 +103,7 @@
"name" : "同步色板",
"identifier" : "synccolor",
"script" : "syncColor.js",
"icon": "../Resources/icons/syncColor.png",
"shortcut": "",
"istool":"true",
"handler" : "onRun"
Expand All @@ -101,6 +112,7 @@
"name" : "导出色板",
"identifier" : "exportcolor",
"script" : "exportColor.js",
"icon": "../Resources/icons/syncColor.png",
"shortcut": "",
"istool":"",
"handler" : "onRun"
Expand All @@ -109,6 +121,7 @@
"name" : "导入色板",
"identifier" : "importcolor",
"script" : "importColor.js",
"icon": "../Resources/icons/syncColor.png",
"shortcut": "",
"istool":"",
"handler" : "onRun"
Expand All @@ -117,6 +130,7 @@
"name" : "快捷取色",
"identifier" : "codeColor",
"script" : "codeColor.js",
"icon": "../Resources/icons/codeColor.png",
"shortcut": "command shift c",
"istool":"true",
"handler" : "onRun"
Expand All @@ -125,6 +139,7 @@
"name" : "生成代码",
"identifier" : "codeStyle",
"script" : "codeStyle.js",
"icon": "../Resources/icons/codeStyle.png",
"shortcut": "command shift d",
"istool":"true",
"handler" : "onRun"
Expand All @@ -133,6 +148,7 @@
"name" : "自定义宽高导出",
"identifier" : "exportSlice",
"script" : "exportSlice.js",
"icon": "../Resources/icons/cut.png",
"shortcut": "command shift u",
"istool":"true",
"handler" : "onRun"
Expand Down
Loading