Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
flavormingo authored Oct 2, 2024
1 parent a18f5ce commit 76f2ce6
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 12 deletions.
7 changes: 7 additions & 0 deletions appcast.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"itemName" : "killswitch",
"versionID" : "1.1.0",
"downloadURL" : "https://cdn.jsdelivr.net/gh/madebysnacks/killswitch@master/killswitch.sketchplugin.zip",
"downloadFileSize" : 24042,
"creationDate" : "Wed, 02 Oct 2024 19:44:00 +0000"
}
Binary file added killswitch.sketchplugin.zip
Binary file not shown.
7 changes: 2 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "killswitch",
"description": "A simple Sketch plugin that disables Symbol overrides.",
"version": "1.0.0",
"description": "a simple sketch plugin for killing symbol overrides",
"version": "1.1.0",
"repository": {
"type": "git",
"url": "https://github.com/alexschemagin/killswitch"
Expand All @@ -26,8 +26,5 @@
},
"devDependencies": {
"@skpm/builder": "^0.9.5"
},
"dependencies": {
"skpm": "^1.3.3"
}
}
14 changes: 9 additions & 5 deletions src/manifest.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,23 @@
{
"$schema": "https://raw.githubusercontent.com/sketch-hq/SketchAPI/develop/docs/sketch-plugin-manifest-schema.json",
"name": "Kill Switch",
"description": "A simple plugin to kill all overrides of selected Symbols",
"identifier": "com.madebysnacks.killswitch",
"appcast": "https://cdn.jsdelivr.net/gh/madebysnacks/killswitch@master/appcast.json",
"homepage": "https://github.com/madebysnacks/killswitch",
"version": "1.0.0",
"version": "1.1.0",
"name": "Kill Switch",
"description": "A simple Sketch plugin for disabling Symbol overrides.",
"author": "Snacks",
"authorEmail": "[email protected]",
"icon": "icon.png",
"commands": [
{
"name": "Kill Overrides",
"name": "kill",
"identifier": "killswitch.kill",
"script": "./script.js"
}
],
"menu": {
"title": "Kill Switch",
"title": "killswitch",
"items": [
"killswitch.kill"
]
Expand Down
4 changes: 2 additions & 2 deletions src/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ export default function() {
o++
})
})
return sketch.UI.message("☠️ Killed " + o + " overrides")
return sketch.UI.message("killswitch » killed " + o + " overrides")
} else {
sketch.UI.message("🛑 Select a Symbol to kill its overrides")
sketch.UI.message("killswitch » select a symbol source to kill its overrides")
}

}

0 comments on commit 76f2ce6

Please sign in to comment.