diff --git a/RealtimeBoard.sketchplugin/Contents/Resources/icon.png b/Miro.sketchplugin/Contents/Resources/icon.png similarity index 100% rename from RealtimeBoard.sketchplugin/Contents/Resources/icon.png rename to Miro.sketchplugin/Contents/Resources/icon.png diff --git a/RealtimeBoard.sketchplugin/Contents/Sketch/auth.js b/Miro.sketchplugin/Contents/Sketch/auth.js similarity index 100% rename from RealtimeBoard.sketchplugin/Contents/Sketch/auth.js rename to Miro.sketchplugin/Contents/Sketch/auth.js diff --git a/RealtimeBoard.sketchplugin/Contents/Sketch/core/MochaJSDelegate.js b/Miro.sketchplugin/Contents/Sketch/core/MochaJSDelegate.js similarity index 100% rename from RealtimeBoard.sketchplugin/Contents/Sketch/core/MochaJSDelegate.js rename to Miro.sketchplugin/Contents/Sketch/core/MochaJSDelegate.js diff --git a/RealtimeBoard.sketchplugin/Contents/Sketch/core/api.js b/Miro.sketchplugin/Contents/Sketch/core/api.js similarity index 98% rename from RealtimeBoard.sketchplugin/Contents/Sketch/core/api.js rename to Miro.sketchplugin/Contents/Sketch/core/api.js index 0ae344e..b942490 100644 --- a/RealtimeBoard.sketchplugin/Contents/Sketch/core/api.js +++ b/Miro.sketchplugin/Contents/Sketch/core/api.js @@ -285,12 +285,14 @@ function Api() { var originalId = context.command.valueForKey_onLayer_forPluginIdentifier("originalId", artboard, "rtb_sync"); var objectId = [artboard objectID]; + var layer + if (artboard.respondsToSelector_(NSSelectorFromString("absoluteInfluenceRect"))) { + // Sketch < 96 + layer = artboard.absoluteInfluenceRect(); + } else { + layer = artboard.rect() + } - const document = [artboard documentData]; - const immutable = [artboard immutableModelObject]; - - var relativeInfluenceRect = immutable.influenceRectForBoundsInDocument(document); - const layer = artboard.convertRect_toLayer_(relativeInfluenceRect, /* to absolute/page coordinates */null) var xPos = layer.origin.x; var yPos = layer.origin.y; var width = layer.size.width; diff --git a/RealtimeBoard.sketchplugin/Contents/Sketch/core/ui.js b/Miro.sketchplugin/Contents/Sketch/core/ui.js similarity index 100% rename from RealtimeBoard.sketchplugin/Contents/Sketch/core/ui.js rename to Miro.sketchplugin/Contents/Sketch/core/ui.js diff --git a/RealtimeBoard.sketchplugin/Contents/Sketch/core/utils.js b/Miro.sketchplugin/Contents/Sketch/core/utils.js similarity index 97% rename from RealtimeBoard.sketchplugin/Contents/Sketch/core/utils.js rename to Miro.sketchplugin/Contents/Sketch/core/utils.js index 76c18fd..0747b88 100644 --- a/RealtimeBoard.sketchplugin/Contents/Sketch/core/utils.js +++ b/Miro.sketchplugin/Contents/Sketch/core/utils.js @@ -37,7 +37,7 @@ var ErrorMessages = { userDeleted: 'Your account is currently being deleted.', userDeletedDesc: 'Until then, you cannot log in or create an account with this email.', userLockout: 'Your account is locked due to multiple failed login attempts for 60 minutes. To unlock your account please wait or visit https://realtimeboard.com/email-unlock/', - contactUs: 'Please contact our support team at support@realtimeboard.com for further assistance.', + contactUs: 'Please contact our support team at support@miro.com for further assistance.', passwordIncorrect: 'The username or password you entered is incorrect.', defaultLockout: 'Your account is locked.' }; diff --git a/RealtimeBoard.sketchplugin/Contents/Sketch/manifest.json b/Miro.sketchplugin/Contents/Sketch/manifest.json similarity index 97% rename from RealtimeBoard.sketchplugin/Contents/Sketch/manifest.json rename to Miro.sketchplugin/Contents/Sketch/manifest.json index f160d8f..58ae012 100644 --- a/RealtimeBoard.sketchplugin/Contents/Sketch/manifest.json +++ b/Miro.sketchplugin/Contents/Sketch/manifest.json @@ -1,7 +1,7 @@ { "name": "Miro", "identifier" : "com.realtimeboard.sketch.plugin", - "version" : "1.6.7", + "version" : "1.7.0", "description" : "Export and sync your artboards with Miro", "authorEmail" : "support@miro.com", "author" : "Miro", diff --git a/RealtimeBoard.sketchplugin/Contents/Sketch/sync.js b/Miro.sketchplugin/Contents/Sketch/sync.js similarity index 100% rename from RealtimeBoard.sketchplugin/Contents/Sketch/sync.js rename to Miro.sketchplugin/Contents/Sketch/sync.js diff --git a/RealtimeBoard.sketchplugin/Contents/Sketch/syncAll.js b/Miro.sketchplugin/Contents/Sketch/syncAll.js similarity index 100% rename from RealtimeBoard.sketchplugin/Contents/Sketch/syncAll.js rename to Miro.sketchplugin/Contents/Sketch/syncAll.js diff --git a/RealtimeBoard.sketchplugin/Contents/Sketch/syncSelected.js b/Miro.sketchplugin/Contents/Sketch/syncSelected.js similarity index 100% rename from RealtimeBoard.sketchplugin/Contents/Sketch/syncSelected.js rename to Miro.sketchplugin/Contents/Sketch/syncSelected.js diff --git a/appcast.xml b/appcast.xml index 9910a38..1defd52 100644 --- a/appcast.xml +++ b/appcast.xml @@ -1,6 +1,24 @@ + + + + + + + + + + + + + + + + + +