Skip to content

Commit

Permalink
官网自动升级的能力。
Browse files Browse the repository at this point in the history
  • Loading branch information
bugluo committed Jul 27, 2017
1 parent ecb47e9 commit 79908dd
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "WeSketch",
"author": "Tencent WeChat",
"version": "1.0.0",
"version": "1.1.1",
"identifier": "cn.wechat",
"description" : "A set of plugins for Sketch include drawing links & marks, UI Kit & Color sync, font & text replacing",
"icon" : "minicon.png",
Expand Down Expand Up @@ -279,7 +279,6 @@
"-",
"link",
"flag",
"h5Preview",
"toolSetting",
"-",
"textReplace",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "WeSketch",
"author": "Tencent WeChat",
"version": "1.0.0",
"version": "1.1.1",
"identifier": "cn.wechat",
"description" : "A set of plugins for Sketch include drawing links & marks, UI Kit & Color sync, font & text replacing",
"icon" : "minicon.png",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "WeSketch",
"author": "Tencent WeChat",
"version": "1.0.0",
"version": "1.1.1",
"identifier": "cn.wechat",
"description" : "A set of plugins for Sketch include drawing links & marks, UI Kit & Color sync, font & text replacing",
"icon" : "minicon.png",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "WeSketch",
"author": "Tencent WeChat",
"version": "1.0.0",
"version": "1.1.1",
"identifier": "cn.wechat",
"description": "A set of plugins for Sketch include drawing links & marks,UI Kit & Color sync,font & text replacing",
"icon": "minicon.png",
Expand Down
5 changes: 2 additions & 3 deletions WeSketch.sketchplugin/Contents/Sketch/manifest.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "WeSketch",
"author": "Tencent WeChat",
"version": "1.0.0",
"version": "1.1.1",
"identifier": "cn.wechat",
"description" : "A set of plugins for Sketch include drawing links & marks, UI Kit & Color sync, font & text replacing",
"icon" : "minicon.png",
"language_name": "English(US)",
"language_author": "hzlzh",
"appcast": "http:https://wximg.qq.com/tmt/sketch/appcast.xml",
"appcast": "https:https://wximg.qq.com/tmt/sketch/appcast.xml",
"commands" : [
{
"handlers": {
Expand Down Expand Up @@ -279,7 +279,6 @@
"-",
"link",
"flag",
"h5Preview",
"toolSetting",
"-",
"textReplace",
Expand Down
4 changes: 0 additions & 4 deletions WeSketch.sketchplugin/Contents/Sketch/onAction.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,7 @@ var onSelectionChanged = function(context) {

var onOpenDocument = function(context) {
var toolbarAuto = NSUserDefaults.standardUserDefaults().objectForKey(toolbarAutoShow) || '';
var updateAuto = NSUserDefaults.standardUserDefaults().objectForKey(updateAutoShow) || '';
if(toolbarAuto != 'false'){
toolbar(context,true);
}
if(updateAuto == 'true'){
checkForUpdate(context,true);
}
};

0 comments on commit 79908dd

Please sign in to comment.