Last active
November 25, 2018 10:38
-
-
Save bantya/dcae83bd8112a41a6876b5bf208e1ada to your computer and use it in GitHub Desktop.
XD: app.js and manifest.json file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function commandFunction(selection) { | |
| // The body of this function is added later | |
| } | |
| module.exports.commands = { | |
| "COMMAND_NAME": commandFunction | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "id": "PLUGIN_ID", | |
| "name": "PLUGIN_NAME", | |
| "version": "0.0.1", | |
| "description": "PLUGIN_DESCRIPTION", | |
| "icons": [{ | |
| "width": 96, | |
| "height": 96, | |
| "path": "images/icon.png" | |
| }], | |
| "host": { | |
| "app": "XD", | |
| "minVersion": "13.0.0" | |
| }, | |
| "uiEntryPoints": [ | |
| { | |
| "type": "menu", | |
| "label": "COMMAND_LABEL", | |
| "commandId": "COMMAND_NAME" | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment