Skip to content

Commit

Permalink
Add version information to the About-dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
Arkkimaagi committed Jan 2, 2018
1 parent 48042f2 commit e8560f8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.

var VERSION = "1.2.3";

var _getCurrentArtboard = function(context) {
var targetArtboard;
var doc = context.document;
Expand Down Expand Up @@ -101,9 +103,9 @@ var about = function(context) {
// Create the dialog
var alert = COSAlertWindow.new();

alert.setMessageText("ArtboardZoom");
alert.setMessageText("ArtboardZoom "+VERSION);
alert.setInformativeText(
"ArtboardZoom plugin was created by Mikko Tapionlinna. \n"+
"ArtboardZoom plugin by Mikko Tapionlinna. \n"+
"\n"+
"Shortcuts:\n"+
"\t\t⌘ 4 = Zoom to artboard\n"+
Expand Down
2 changes: 1 addition & 1 deletion ArtboardZoom.sketchplugin/Contents/Sketch/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
]
},
"identifier" : "com.github.arkkimaagi.artboardzoom",
"version" : "1.2.2",
"version" : "1.2.3",
"appcast" : "https://api.sketchpacks.com/v1/plugins/com.github.arkkimaagi.artboardzoom/appcast",
"description" : "Tiny Sketch.app plugin for zooming to Artboard of currently selected object.",
"authorEmail" : "[email protected]",
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ArtboardZoom v 1.2.2
# ArtboardZoom v 1.2.3
Tiny Sketch.app plugin for zooming to Artboard of currently selected object.

<img src="/../artwork/ArtboardZoom.png?raw=true" alt="ArtboardZoom Cmd+4" width="200">
Expand Down Expand Up @@ -41,6 +41,7 @@ Installation should be quite easy, here are three ways to do it.

## Version history

* 1.2.3 Added version information to the About-dialog
* 1.2.2 Added a fix for API changes in Sketch 48
* 1.2.1 Added support for Sketch 45 update plugin feature
* 1.2.0
Expand Down

0 comments on commit e8560f8

Please sign in to comment.