diff --git a/README.md b/README.md index 8ce0de0..9538289 100644 --- a/README.md +++ b/README.md @@ -8,16 +8,6 @@ This is a longer description meant for a sample plugin that demonstrates the met Note that originally we recommended specifying the contents of this entire file inside of the [plugin.json](./plugin.json) but the latest repository generator will use the readme contents directly which means you should simply leave an empty longdescription field. -## Minimum Version - -This plugin requires the following minimum version of Binary Ninja: - - * 3000 - ## License This plugin is released under an [MIT license](./license). - -## Metadata Version - -2 diff --git a/__init__.py b/__init__.py index 67435f4..5e8c0e3 100644 --- a/__init__.py +++ b/__init__.py @@ -1,7 +1,7 @@ from binaryninja import * -def do_nothing(bv,function): +def do_nothing(bv): show_message_box("Do Nothing", "Congratulations! You have successfully done nothing.\n\n" + "Pat yourself on the back.", MessageBoxButtonSet.OKButtonSet, MessageBoxIcon.ErrorIcon) -PluginCommand.register_for_address("Useless Plugin", "Basically does nothing", do_nothing) +PluginCommand.register("Useless Plugin", "Basically does nothing", do_nothing) diff --git a/plugin.json b/plugin.json index d2690be..9862fc3 100644 --- a/plugin.json +++ b/plugin.json @@ -47,5 +47,5 @@ }, "version": "1.3.5", "author": "Vector 35 Inc", - "minimumbinaryninjaversion": 3000 + "minimumbinaryninjaversion": 3164 }