streamdeck-tools
streamdeck-tools copied to clipboard
Did you think about manifest auto generation
Every action change or add or removed always fix manifest is little complicated. I have a idea to solve this problem by auto generate manifest from classes with attributes. For example
[PlugInActionId("com.blahblah")]
[ActionName("MyActionName")]
[Icon("...")]
[Tooltip("...")]
[State("Images/pluginState1","Top","12")]
[State("Images/pluginState2","Top","12")]
[PropertyInspectorPath("...")]
public class KeyAction:KeypadBase{
...
}
I dont know what is easiest method, Post build event run script or T4 template or something.
What you think?
+1 for this. Had the idea of implementing this myself the other day as well.
I did something similar using python as post-build event, it's not the best solution but it gets the job done: https://github.com/iu2frl/StreamDock.Plugins.Olliter/blob/master/build_manifest.py