Updated Guide (markdown)

Stone_Red
2023-01-25 12:25:47 +01:00
parent 74a238207b
commit 7b7cb1c51b
+3 -3
@@ -1,6 +1,6 @@
## How to create a basic plugin
1. Create a [.NET(Core) class library](https://docs.microsoft.com/en-us/dotnet/core/tutorials/library-with-visual-studio) project
1. Create a [.NET (Core) class library](https://docs.microsoft.com/en-us/dotnet/core/tutorials/library-with-visual-studio) project
1. Add the [DesktopMagicPluginAPI](https://www.nuget.org/packages/DesktopMagicPluginAPI/) nuget package
@@ -10,7 +10,7 @@
1. Compile it to a `.dll` file.
1. In the plugin directory create a directory with the same name as the `.dll` file without the file extension and put the `.dll` file with all required dependencies into it.
1. In the plugin directory, create a directory with the same name as the `.dll` file without the file extension and put the `.dll` file with all required dependencies into it.
1. Add the plugin to the [DesktopMagic-Plugins](https://github.com/Stone-Red-Code/DesktopMagic-Plugins) repository.
@@ -24,7 +24,7 @@ The method is executed in a different thread, which means you can run things wit
You must return a `bitmap` from this method to display the output in the plugin window.
### Event handlers
All events are normally raised in the main thread of the DesktopMagic application, so they should not contain code that blocks the main thread.
All events are usually raised in the main thread of the DesktopMagic application, so they should not contain code that blocks the main thread.
## Examples